regSetNone function

void regSetNone(
  1. HKEY hkey,
  2. String subKey,
  3. String valueName, {
  4. REG_SAM_FLAGS accessRights = KEY_SET_VALUE,
})

Sets a Windows registry valueName with a type REG_NONE.

No value is set. A WindowsException is thrown the call falls. @Throwing(WindowsException)

Implementation

void regSetNone(
  HKEY hkey,
  String subKey,
  String valueName, {
  REG_SAM_FLAGS accessRights = KEY_SET_VALUE,
}) {
  _regSetValue(
    hkey,
    subKey,
    valueName,
    nullptr.cast(),
    0,
    REG_NONE,
    accessRights: accessRights,
  );
}