Reference

RegEnumKeyW(3w)

NAME

RegEnumKeyW (ADVAPI32.@)

SYNOPSIS

LSTATUS RegEnumKeyW
(
HKEY hkey,
DWORD index,
LPWSTR name,
DWORD name_len
)

DESCRIPTION

Enumerates subkeys of the specified open reg key.

PARAMS

hKey [In] Handle to an open key.

dwIndex [In] Index of the subkey of hKey to retrieve.

lpName [Out] Name of the subkey.

cchName [In] Size of lpName in TCHARS.

RETURNS

Success: ERROR_SUCCESS

Failure: system error code. If there are no more subkeys available, the function returns ERROR_NO_MORE_ITEMS.

IMPLEMENTATION

Declared in "winreg.h".

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

Debug channel "reg".

History