Deletes a key from the registry. The key cannot contain any sub-keys, otherwise the method will fail.
This functionality is supported only if you are using the Open Agent.
bSuccess = SYS_DeleteRegistryKey (rcCategory, sKeypath, sKeyname)
|bSuccess||True if the key was successfully deleted, false otherwise. BOOLEAN.|
|rcCategory||The constant for the root key from mswconst.inc. For example HKEY_CURRENT_USER or HKEY_LOCAL_MACHINE. LONG.|
|sKeypath||The path to the registry key. STRING.|
|sKeyname||The name of the registry key. STRING.|
Use the include file mswconst.inc to be able to reference key values.