Reference

RegQueryMultipleValuesA(3w)

NAME

RegQueryMultipleValuesA (ADVAPI32.@)

SYNOPSIS

LSTATUS RegQueryMultipleValuesA
(
HKEY hkey,
PVALENTA val_list,
DWORD num_vals,
LPSTR lpValueBuf,
LPDWORD ldwTotsize
)

DESCRIPTION

Retrieves the type and data for a list of value names associated with a key.

PARAMS

hKey [In] Handle to an open key.

val_list [Out] Array of VALENT structures that describes the entries.

num_vals [In] Number of elements in val_list.

lpValueBuf [Out] Pointer to a buffer that receives the data for each value.

ldwTotsize [In/Out] Size of lpValueBuf.

RETURNS

Success: ERROR_SUCCESS. ldwTotsize contains num bytes copied.

Failure: nonzero error code from Winerror.h ldwTotsize contains num needed bytes.

IMPLEMENTATION

Declared in "winreg.h".

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

Debug channel "reg".

History