DeleteRegistryKey

From Solid Graphics Wiki

Jump to: navigation, search
DeleteRegistryKey
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 DeleteRegistryValue function deletes the specified registry key. The key to be deleted must not have subkeys.

bool DeleteRegistryKey
        (
        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 was successfully deleted, false if the key could not be deleted (for example because of access denied error) of the key did not exist.

See Also


   


SolidKit Library Documentation

Personal tools