RegDeleteKeyA3w
Usage
LSTATUS RegDeleteKeyA
(
HKEY hkey,
LPCSTR name
)
Overview
Delete a registry key.
Params
hkey [In] Handle to parent key containing the key to delete.
name [In] Name of the key user hkey to delete.
Notes
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.
Returns
Success: ERROR_SUCCESS
Failure: Error code
Implementation
Declared in "winreg.h".
Implemented in "dlls/advapi32/registry.c".
Debug channel "reg".
Releases
4 releases since Debian 4.0 (Etch); the text changed 3 times.