RegistryValueExist

From Solid Graphics Wiki

Jump to: navigation, search
RegistryValueExist
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 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


   


SolidKit Library Documentation

Personal tools