RegQueryInfoKeyA3w
Usage
LSTATUS RegQueryInfoKeyA
(
HKEY hkey,
LPSTR class,
LPDWORD class_len,
LPDWORD reserved,
LPDWORD subkeys,
LPDWORD max_subkey,
LPDWORD max_class,
LPDWORD values,
LPDWORD max_value,
LPDWORD max_data,
LPDWORD security,
FILETIME* modif
)
Overview
Retrieves information about a registry key.
Params
hKey [In] Handle to an open key.
lpClass [Out] Class string of the key.
lpcClass [In/Out] size of lpClass.
lpReserved [In] Reserved; must be NULL.
lpcSubKeys [Out] Number of subkeys contained by the key.
lpcMaxSubKeyLen [Out] Size of the key's subkey with the longest name.
lpcMaxClassLen [Out] Size of the longest string specifying a subkey class in TCHARS.
lpcValues [Out] Number of values associated with the key.
lpcMaxValueNameLen [Out] Size of the key's longest value name in TCHARS.
lpcMaxValueLen [Out] Longest data component among the key's values.
lpcbSecurityDescriptor [Out] Size of the key's security descriptor.
lpftLastWriteTime [Out] FILETIME structure that is the last write time.
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".
Releases
4 releases since Debian 4.0 (Etch); the text changed 3 times.