CreateRegistryKey(base, key$)
key$.
You also have to specify the base tree for the new registry key in the base argument.
This can be one of the following constants:
#HKEY_CLASSES_ROOT #HKEY_CURRENT_CONFIG #HKEY_LOCAL_MACHINE #HKEY_USERS #HKEY_CURRENT_USER |
After creating the registry key using this function, you can then use the WriteRegistryKey() function to add values to it. See WriteRegistryKey for details.