Adds a key to the registry.
int createKey ( String subkey, String classname);
The method has the following parameters:
- The key path to the appropriate location in the key hierarchy, such as "Software\\Netscape\\Navigator\\Mail".
- Usually an empty string. For information on this parameter, see the description of RegCreateKeyEx in your Windows API documentation.
0 if it succeeded; a nonzero number if it failed to schedule the creation. For a list of possible values, see Return Codes.
createKey method adds a key to the registry. You must add a key to the registry before you can add a value for that key.