DeleteRegistryValue
From Solid Graphics Wiki
| ||||||||||||
The DeleteRegistryValue function deletes the specified registry value.
bool DeleteRegistryValue
(
RegistryRoot regRoot,
const char* keyName
const char* valueName
);
Parameters
| regRoot | Root of the registry key. This can be either SKL::ClassesRoot, or SKL::CurrentUser or SKL::LocalMachine. |
| keyName | The registry key name, for example "SOFTWARE\\Microsoft\\DevStudio\\6.0\\Help\\Extension" |
| valueName | The registry value name, for example "FileName" |
Return value
The function returns true if the registry value was successfully deleted, false if the value could not be deleted (for example because of access denied error) of the value did not exist.
See Also
- ImportRegistryData
- GetRegistrySubKeyNames
- GetRegistryValueNames
- GetRegistryValue
- SetRegistryValue
- RegistryKeyExist
- RegistryValueExist
- DeleteRegistryKey
