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.
Declared in "include/shlwapi.h". gitlab.winehq.org/wine/wine/blob/master/include/shlwapi.h
Implemented in "dlls/shlwapi/reg.c". gitlab.winehq.org/wine/wine/blob/master/dlls/shlwapi/reg.c
Debug channel "shell".
Copyright © 2024 The Wine Project. All trademarks are the property of their respective owners. Visit WineHQ for license details. Generated Dec 2024.