RegSetValueExW method

int RegSetValueExW(
  1. Pointer<HKEY__> hKey,
  2. Pointer<Uint16> lpValueName,
  3. int Reserved,
  4. int dwType,
  5. Pointer<Uint8> lpData,
  6. int cbData,
)

Implementation

int RegSetValueExW(
  ffi.Pointer<HKEY__> hKey,
  ffi.Pointer<ffi.Uint16> lpValueName,
  int Reserved,
  int dwType,
  ffi.Pointer<ffi.Uint8> lpData,
  int cbData,
) {
  return (_RegSetValueExW ??=
      _dylib.lookupFunction<_c_RegSetValueExW, _dart_RegSetValueExW>(
          'RegSetValueExW'))(
    hKey,
    lpValueName,
    Reserved,
    dwType,
    lpData,
    cbData,
  );
}