RegistryKeyExist

From Solid Graphics Wiki

Jump to: navigation, search
RegistryKeyExist
Namespace: SKL
Member of: (this function is not member of any class)
Include: SklCommon.h
Lib (Release): SKL.lib
Lib (Debug): SKL_D.lib

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


   


SolidKit Library Documentation

Personal tools