RegDeleteKeyA (ADVAPI32.@)
LSTATUS RegDeleteKeyA ( HKEY hkey, LPCSTR name )
Delete a registry key.
hkey | [In] | Handle to parent key containing the key to delete. |
name | [In] | Name of the key user hkey to delete. |
MSDN is wrong when it says that hkey must be opened with the DELETE access right. In reality, it opens a new handle with DELETE access.
Success: ERROR_SUCCESS
Failure: Error code
Declared in "include/winreg.h". gitlab.winehq.org/wine/wine/blob/master/include/winreg.h
Implemented in "dlls/advapi32/registry.c". gitlab.winehq.org/wine/wine/blob/master/dlls/advapi32/registry.c
Debug channel "reg".
Copyright © 2024 The Wine Project. All trademarks are the property of their respective owners. Visit WineHQ for license details. Generated Dec 2024.