Reg_CreateKey
Description
Section titled “Description”Creates the specified subkey in the registry. Missing parent keys in the path are created too. If the key already exists, the function returns TRUE and doesn’t change it.
Syntax
Section titled “Syntax”Reg_CreateKey(sHandle, sKey) as Boolean
Parameters
Section titled “Parameters”sHandle (String)
Section titled “sHandle (String)”Registry hive, for example HKLM. For all accepted values, see Registry Functions.
sKey (String)
Section titled “sKey (String)”Subkey to create
Example
Section titled “Example”If bStatus Then bStatus = Reg_CreateKey("HKLM", "Software\KeyName")