Name
CreateRegistryKey -- create an empty new registry key (V11.0)
Synopsis
CreateRegistryKey(base, key$)
Library
windows

Platforms
Microsoft Windows only

Function
This function can be used to create the empty new registry key specified by 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.

Inputs
base
one of the base tree constants from above
key$
the registry key to create

Show TOC