Deletes a registry key.
win32
delete-registry-key subkey &key root errorp => successp, error-code
| subkey⇩ | 
A string specifying the name of the key. | 
| root⇩ | 
A keyword or handle. | 
| errorp⇩ | 
A generalized boolean. | 
| successp | 
A boolean. | 
| error-code⇩ | 
An integer error code or  nil. | 
The function delete-registry-key deletes the registry key named subkey under the parent key root.
subkey and root are interpreted as described for create-registry-key. The default value of root is :user.
The value t is returned if the key is deleted successfully.
If an error occurs and errorp is true then an error is signaled. Otherwise, the return values are nil and the Windows error-code. The default value of errorp is t.
LispWorks® User Guide and Reference Manual - 01 Dec 2021 19:31:09