SHDeleteOrphanKeyA (SHLWAPI.@)
DWORD SHDeleteOrphanKeyA ( HKEY hKey, LPCSTR lpszSubKey )
Delete a registry key with no sub keys or values.
hKey | [In] | Handle to registry key. |
lpszSubKey | [In] | Name of sub key to possibly delete. |
Success: ERROR_SUCCESS. The key has been deleted if it was an orphan.
Failure: An error from RegOpenKeyExA, RegQueryValueExA, or RegDeleteKeyA.
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 Jul 2008.