regSetNone function Null safety

void regSetNone(
  1. int hkey,
  2. String subKey,
  3. String valueName,
  4. {int 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.

Implementation

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