RegQueryInfoKeyA method

int RegQueryInfoKeyA(
  1. Pointer<HKEY__> hKey,
  2. Pointer<Int8> lpClass,
  3. Pointer<Uint64> lpcchClass,
  4. Pointer<Uint64> lpReserved,
  5. Pointer<Uint64> lpcSubKeys,
  6. Pointer<Uint64> lpcbMaxSubKeyLen,
  7. Pointer<Uint64> lpcbMaxClassLen,
  8. Pointer<Uint64> lpcValues,
  9. Pointer<Uint64> lpcbMaxValueNameLen,
  10. Pointer<Uint64> lpcbMaxValueLen,
  11. Pointer<Uint64> lpcbSecurityDescriptor,
  12. Pointer<FILETIME> lpftLastWriteTime,
)

Implementation

int RegQueryInfoKeyA(
  ffi.Pointer<HKEY__> hKey,
  ffi.Pointer<ffi.Int8> lpClass,
  ffi.Pointer<ffi.Uint64> lpcchClass,
  ffi.Pointer<ffi.Uint64> lpReserved,
  ffi.Pointer<ffi.Uint64> lpcSubKeys,
  ffi.Pointer<ffi.Uint64> lpcbMaxSubKeyLen,
  ffi.Pointer<ffi.Uint64> lpcbMaxClassLen,
  ffi.Pointer<ffi.Uint64> lpcValues,
  ffi.Pointer<ffi.Uint64> lpcbMaxValueNameLen,
  ffi.Pointer<ffi.Uint64> lpcbMaxValueLen,
  ffi.Pointer<ffi.Uint64> lpcbSecurityDescriptor,
  ffi.Pointer<FILETIME> lpftLastWriteTime,
) {
  return _RegQueryInfoKeyA(
    hKey,
    lpClass,
    lpcchClass,
    lpReserved,
    lpcSubKeys,
    lpcbMaxSubKeyLen,
    lpcbMaxClassLen,
    lpcValues,
    lpcbMaxValueNameLen,
    lpcbMaxValueLen,
    lpcbSecurityDescriptor,
    lpftLastWriteTime,
  );
}