RegRemoveKey
int RegRemoveKey (unsigned int rootKey, const char subkeyName[]);
Purpose
This function removes a key from the Registry. If the key has subkeys, you must remove each one (recursively) before you may remove the parent.
(Linux) This function is not supported.
Parameters
Input | ||
Name | Type | Description |
rootKey | unsigned int | The Root Key under which the key to remove exists. See the Windows Registry functions Class help for more information about Root Keys. |
subkeyName | const char[] | The name of the Subkey, relative to the Root Key, to remove. See the Windows Registry functions Class help for more information about Subkeys. |
Return Value
Name | Type | Description |
status | int | The status code that the function returns. 0 indicates success. A negative value indicates an error. This function may return a Programmer's Toolbox or UI Library error code. Call GetGeneralErrorString to obtain a text description of the error. |
Additional Information
Library: Programmer's Toolbox
Include file: toolbox\toolbox.h
LabWindows/CVI compatibility: LabWindows/CVI 9.0 and later