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