Sets the value of the specified registry key.
C#
bSuccess = SetRegistryValue (rcCategory, sKeyPath, sValueName, sNewValue);
VB
bSuccess = SetRegistryValue (rcCategory, sKeyPath, sValueName, sNewValue)
| Variable | Description |
|---|---|
| bSuccess | Returns true if the registry key could be set, false otherwise . Boolean. |
| rcCategory | The root key for the registry. RegistryCategory. |
| sKeyPath | The path to the registry key. String. |
| sValueName | The name of the value. String. |
| sNewValue | The new value. String. |