RegQueryValueExW method

int RegQueryValueExW(
  1. Pointer<HKEY__> hKey,
  2. Pointer<Uint16> lpValueName,
  3. Pointer<Uint64> lpReserved,
  4. Pointer<Uint64> lpType,
  5. Pointer<Uint8> lpData,
  6. Pointer<Uint64> lpcbData,
)

Implementation

int RegQueryValueExW(
  ffi.Pointer<HKEY__> hKey,
  ffi.Pointer<ffi.Uint16> lpValueName,
  ffi.Pointer<ffi.Uint64> lpReserved,
  ffi.Pointer<ffi.Uint64> lpType,
  ffi.Pointer<ffi.Uint8> lpData,
  ffi.Pointer<ffi.Uint64> lpcbData,
) {
  return (_RegQueryValueExW ??=
      _dylib.lookupFunction<_c_RegQueryValueExW, _dart_RegQueryValueExW>(
          'RegQueryValueExW'))(
    hKey,
    lpValueName,
    lpReserved,
    lpType,
    lpData,
    lpcbData,
  );
}