WriteRegistryKey(base, key$, value)
#HKEY_CLASSES_ROOT #HKEY_CURRENT_CONFIG #HKEY_LOCAL_MACHINE #HKEY_USERS #HKEY_CURRENT_USER |
The value for the key can be a either number or a string. You can also
write binary data to the registry by passing a string. Hollywood strings
are capable of holding arbitrary binary data because they allow NULL
characters in them. Under normal circumstances, however, writing numbers
or normal strings to the registry should be sufficient.
If you want to create container registry keys, i.e. keys that contain
multiple values and subtrees, use the CreateRegistryKey() function
to create an empty key and then use WriteRegistryKey() to add values to
the key. See CreateRegistryKey for details.