deleteKey

deleteKey

Removes a key from the registry.

Method of

WinReg object

Syntax

int deleteKey ( String subkey);

Parameters

The method has the following parameters:

subkey
The key path to the appropriate location in the key hierarchy, such as "Software\\Netscape\\Navigator\\Mail".

Returns

0 if it succeeded; a nonzero number if it failed to schedule the deletion. For a list of possible values, see Return Codes.

Document Tags and Contributors

 Contributors to this page: Sheppy, trevorh, Fredchat, Rod Whiteley
 Last updated by: Sheppy,