Reg_DeleteKey
Description
Section titled “Description”Deletes specified key in registry. Fails if any sub key exists. Recommended for safe Registry-handling.
If the key doesn’t exist, the function writes a log entry and returns TRUE.
Syntax
Section titled “Syntax”Reg_DeleteKey(sHandle, sKey) as Boolean
Parameters
Section titled “Parameters”sHandle (String)
Section titled “sHandle (String)”Registry hive, for example HKLM. For all accepted values, see Registry Functions.
sKey (String)
Section titled “sKey (String)”Subkey to delete
Example
Section titled “Example”If bStatus Then bStatus = Reg_DeleteKey("HKLM", "Software\KeyName")