NAME

SHDeleteEmptyKeyA  (SHLWAPI.@)

SYNOPSIS

 DWORD SHDeleteEmptyKeyA
 (
  HKEY   hKey,
  LPCSTR lpszSubKey
 )

DESCRIPTION

Delete a registry key with no sub keys.

PARAMS

hKey [In] Handle to registry key.
lpszSubKey [In] Name of sub key to delete.

RETURNS

Success: ERROR_SUCCESS. The key is deleted.

Failure: If the key is not empty, returns ERROR_KEY_HAS_CHILDREN. Otherwise returns an error code from RegOpenKeyExA, RegQueryInfoKeyA or RegDeleteKeyA.

IMPLEMENTATION

Defined in "shlwapi.h".

Implemented in "dlls/shlwapi/reg.c". source.winehq.org/source/dlls/shlwapi/reg.c

Debug channel "shell".


Copyright © 2008 The Wine Project. All trademarks are the property of their respective owners. Visit WineHQ for license details. Generated Jan 2008.