win.DeleteRegValue

LuaFAR 3

win.DeleteRegValue


result = win.DeleteRegValue (RootKey, Key, [ValueName], [AccessMask])

Parameters:
  RootKey:     string (one of: "HKLM", "HKCC", "HKCR", "HKCU", "HKU")
  Key:         string
  ValueName:   string (optional)
  AccessMask:  flag ("KEY_WOW64_32KEY" or "KEY_WOW64_64KEY"; the default is 0)

Returns:
  result: boolean

Description:
  This function deletes a registry value.