Creates a new value.
This functionality is supported only if you are using the Open Agent.
bSuccess = SYS_CreateRegistryValue (rcCategory, sKeypath, sValueName, sValue)
Variable | Description |
---|---|
bSuccess | True if the value was successfully created, false otherwise. BOOLEAN. |
rcCategory | The constant for the root key from mswconst.inc. For example HKEY_CURRENT_USER or HKEY_LOCAL_MACHINE. LONG. |
sKeypath | The path to the registry key. STRING. |
sValueName | The name of the value. STRING. |
sValue | The new value. STRING. |
Use the include file mswconst.inc to be able to reference key values.