Reference

SHEnumValueA(3w)

NAME

SHEnumValueA (SHLWAPI.@)

SYNOPSIS

LONG SHEnumValueA
(
HKEY hKey,
DWORD dwIndex,
LPSTR lpszValue,
LPDWORD pwLen,
LPDWORD pwType,
LPVOID pvData,
LPDWORD pcbData
)

DESCRIPTION

Enumerate values in a registry key.

PARAMS

hKey [In] Handle to registry key.

dwIndex [In] Index of key to enumerate.

lpszValue [Out] Pointer updated with the values name.

pwLen [Out] Pointer updated with the values length.

pwType [Out] Pointer updated with the values type.

pvData [Out] Pointer updated with the values data.

pcbData [Out] Pointer updated with the values size.

RETURNS

Success: ERROR_SUCCESS. Output parameters are updated.

Failure: An error code from RegEnumValueA(3w).

IMPLEMENTATION

Declared in "shlwapi.h".

Implemented in "dlls/shlwapi/reg.c".

Debug channel "shell".

History