RegSetKeyValueW method

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

Implementation

int RegSetKeyValueW(
  ffi.Pointer<HKEY__> hKey,
  ffi.Pointer<ffi.Uint16> lpSubKey,
  ffi.Pointer<ffi.Uint16> lpValueName,
  int dwType,
  ffi.Pointer<ffi.Void> lpData,
  int cbData,
) {
  return (_RegSetKeyValueW ??=
      _dylib.lookupFunction<_c_RegSetKeyValueW, _dart_RegSetKeyValueW>(
          'RegSetKeyValueW'))(
    hKey,
    lpSubKey,
    lpValueName,
    dwType,
    lpData,
    cbData,
  );
}