NAME

RegQueryInfoKeyA  (ADVAPI32.@)

SYNOPSIS

 DWORD 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
 )

DESCRIPTION

Retrieves information about a registry key.

PARAMS

hKey class="in_out">[In] Handle to an open key.
lpClass class="in_out">[Out] Class string of the key.
lpcClass class="in_out">[In/Out] size of lpClass.
lpReserved class="in_out">[In] Reserved; must be NULL.
lpcSubKeys class="in_out">[Out] Number of subkeys contained by the key.
lpcMaxSubKeyLen class="in_out">[Out] Size of the key's subkey with the longest name.
lpcMaxClassLen class="in_out">[Out] Size of the longest string specifying a subkey class in TCHARS.
lpcValues class="in_out">[Out] Number of values associated with the key.
lpcMaxValueNameLen class="in_out">[Out] Size of the key's longest value name in TCHARS.
lpcMaxValueLen class="in_out">[Out] Longest data component among the key's values.
lpcbSecurityDescriptor class="in_out">[Out] Size of the key's security descriptor.
lpftLastWriteTime class="in_out">[Out] FILETIME strucutre that is the last write time.

RETURNS

class="emp">Success: ERROR_SUCCESS

class="emp">Failure: nonzero error code from Winerror.h

IMPLEMENTATION

Defined in class="const">"winreg.h".

Implemented in class="const">"dlls/advapi32/registry.c". source.winehq.org/source/dlls/advapi32/registry.c

Debug channel class="const">"reg".


Copyright © 2005 The Wine Project. All trademarks are the property of their respective owners. Visit WineHQ for license details. Generated Aug 2005.