RegQueryInfoKey function advapi32
int
RegQueryInfoKey(
- int hKey,
- Pointer<
Utf16> lpClass, - Pointer<
Uint32> lpcchClass, - Pointer<
Uint32> lpReserved, - Pointer<
Uint32> lpcSubKeys, - Pointer<
Uint32> lpcbMaxSubKeyLen, - Pointer<
Uint32> lpcbMaxClassLen, - Pointer<
Uint32> lpcValues, - Pointer<
Uint32> lpcbMaxValueNameLen, - Pointer<
Uint32> lpcbMaxValueLen, - Pointer<
Uint32> lpcbSecurityDescriptor, - Pointer<
FILETIME> lpftLastWriteTime,
Retrieves information about the specified registry key.
LSTATUS RegQueryInfoKeyW(
HKEY hKey,
LPWSTR lpClass,
LPDWORD lpcchClass,
LPDWORD lpReserved,
LPDWORD lpcSubKeys,
LPDWORD lpcbMaxSubKeyLen,
LPDWORD lpcbMaxClassLen,
LPDWORD lpcValues,
LPDWORD lpcbMaxValueNameLen,
LPDWORD lpcbMaxValueLen,
LPDWORD lpcbSecurityDescriptor,
PFILETIME lpftLastWriteTime);
Implementation
int RegQueryInfoKey(
int hKey,
Pointer<Utf16> lpClass,
Pointer<Uint32> lpcchClass,
Pointer<Uint32> lpReserved,
Pointer<Uint32> lpcSubKeys,
Pointer<Uint32> lpcbMaxSubKeyLen,
Pointer<Uint32> lpcbMaxClassLen,
Pointer<Uint32> lpcValues,
Pointer<Uint32> lpcbMaxValueNameLen,
Pointer<Uint32> lpcbMaxValueLen,
Pointer<Uint32> lpcbSecurityDescriptor,
Pointer<FILETIME> lpftLastWriteTime) =>
_RegQueryInfoKey(
hKey,
lpClass,
lpcchClass,
lpReserved,
lpcSubKeys,
lpcbMaxSubKeyLen,
lpcbMaxClassLen,
lpcValues,
lpcbMaxValueNameLen,
lpcbMaxValueLen,
lpcbSecurityDescriptor,
lpftLastWriteTime);