RegistryKeyExist
From Solid Graphics Wiki
| ||||||||||||
The RegistryKeyExist function checks whether registry key exists..
bool RegistryKeyExist
(
RegistryRoot regRoot,
const char* keyName
);
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" |
Return value
The function returns true if the registry key exists, false if the key does not exist or the application does not have at least read access to it.
See Also
- ImportRegistryData
- GetRegistrySubKeyNames
- GetRegistryValueNames
- GetRegistryValue
- SetRegistryValue
- RegistryValueExist
- DeleteRegistryValue
- DeleteRegistryKey
