Deletes a key from the registry. The key cannot contain any sub-keys, otherwise the method will fail.
bSuccess = DeleteRegistryKey (rcCategory, sKeypath, sKeyname)
Variable | Description |
---|---|
bSuccess | True if the key was successfully deleted, false otherwise. Boolean. |
rcCategory | The root key for the registry. RegistryCategory. |
sKeypath | The path to the registry key. String. |
sKeyname | The name of the registry key. String. |