SHDeleteKeyA3w
Usage
DWORD SHDeleteKeyA
(
HKEY hKey,
LPCSTR lpszSubKey
)
Overview
Delete a registry key and any sub keys/values present.
This function forwards to the unicode version directly, to avoid handling subkeys that are not representable in ASCII.
Params
hKey [In] Handle to registry key.
lpszSubKey [In] Name of sub key to delete.
Returns
Success: ERROR_SUCCESS. The key is deleted.
Failure: An error code from RegOpenKeyExA(3w), RegQueryInfoKeyA(3w), RegEnumKeyExA() or RegDeleteKeyA(3w).
Implementation
Declared in "shlwapi.h".
Implemented in "dlls/shlwapi/reg.c".
Debug channel "shell".
Releases
4 releases since Debian 4.0 (Etch); the text changed 3 times.