NAME

RegQueryInfoKeyA  (KERNELBASE.@)

SYNOPSIS

 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
 )

DESCRIPTION

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". https://source.winehq.org/source/include/winreg.h

Implemented in "dlls/kernelbase/registry.c". https://source.winehq.org/source/dlls/kernelbase/registry.c

Debug channel "reg".


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