RegistryValueExist
From Solid Graphics Wiki
| ||||||||||||
The RegistryValueExist function Checks whether speciefied registry value exists.
bool RegistryValueExist
(
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 specified registry value exists, false if the value does not exist or the application does not have at least read access to it.
See Also
- ImportRegistryData
- GetRegistrySubKeyNames
- GetRegistryValueNames
- GetRegistryValue
- SetRegistryValue
- RegistryKeyExist
- DeleteRegistryValue
- DeleteRegistryKey
