RegCreateKeyW method

int RegCreateKeyW(
  1. Pointer<HKEY__> hKey,
  2. Pointer<Uint16> lpSubKey,
  3. Pointer<Pointer<HKEY__>> phkResult
)

Implementation

int RegCreateKeyW(
  ffi.Pointer<HKEY__> hKey,
  ffi.Pointer<ffi.Uint16> lpSubKey,
  ffi.Pointer<ffi.Pointer<HKEY__>> phkResult,
) {
  return (_RegCreateKeyW ??=
      _dylib.lookupFunction<_c_RegCreateKeyW, _dart_RegCreateKeyW>(
          'RegCreateKeyW'))(
    hKey,
    lpSubKey,
    phkResult,
  );
}