RegSetValueW method

int RegSetValueW(
  1. Pointer<HKEY__> hKey,
  2. Pointer<Uint16> lpSubKey,
  3. int dwType,
  4. Pointer<Uint16> lpData,
  5. int cbData,
)

Implementation

int RegSetValueW(
  ffi.Pointer<HKEY__> hKey,
  ffi.Pointer<ffi.Uint16> lpSubKey,
  int dwType,
  ffi.Pointer<ffi.Uint16> lpData,
  int cbData,
) {
  return (_RegSetValueW ??= _dylib
      .lookupFunction<_c_RegSetValueW, _dart_RegSetValueW>('RegSetValueW'))(
    hKey,
    lpSubKey,
    dwType,
    lpData,
    cbData,
  );
}