Reference

RegUnLoadKeyW(3w)

NAME

RegUnLoadKeyW (ADVAPI32.@)

SYNOPSIS

LSTATUS RegUnLoadKeyW
(
HKEY hkey,
LPCWSTR lpSubKey
)

DESCRIPTION

Unload a registry key and its subkeys from the registry.

PARAMS

hkey [In] Handle of open key.

lpSubKey [In] Address of name of subkey to unload.

RETURNS

Success: ERROR_SUCCESS

Failure: nonzero error code from Winerror.h

IMPLEMENTATION

Declared in "winreg.h".

Implemented in "dlls/advapi32/registry.c".

Debug channel "reg".

History