SHDeleteEmptyKeyA (SHLWAPI.@)
DWORD SHDeleteEmptyKeyA ( HKEY hKey, LPCSTR lpszSubKey )
Delete a registry key with no sub keys.
hKey | [In] | Handle to registry key. |
lpszSubKey | [In] | Name of sub key to delete. |
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.
Defined in "shlwapi.h".
Implemented in "dlls/shlwapi/reg.c". source.winehq.org/source/dlls/shlwapi/reg.c
Debug channel "shell".
Copyright © 2007 The Wine Project. All trademarks are the property of their respective owners. Visit WineHQ for license details. Generated Mar 2007.