RegOpenKeyExW method

int RegOpenKeyExW(
  1. Pointer<HKEY__> hKey,
  2. Pointer<Uint16> lpSubKey,
  3. int ulOptions,
  4. int samDesired,
  5. Pointer<Pointer<HKEY__>> phkResult,
)

Implementation

int RegOpenKeyExW(
  ffi.Pointer<HKEY__> hKey,
  ffi.Pointer<ffi.Uint16> lpSubKey,
  int ulOptions,
  int samDesired,
  ffi.Pointer<ffi.Pointer<HKEY__>> phkResult,
) {
  return (_RegOpenKeyExW ??=
      _dylib.lookupFunction<_c_RegOpenKeyExW, _dart_RegOpenKeyExW>(
          'RegOpenKeyExW'))(
    hKey,
    lpSubKey,
    ulOptions,
    samDesired,
    phkResult,
  );
}