regsetnum
Write a number as a registry key value. If there is no key, it will be created.
func uint regsetnum (
uint root,
str subkey,
str valname,
uint value,
arrstr ret
)
uint root,
str subkey,
str valname,
uint value,
arrstr ret
)
Parameters
root | A root key.
| ||||||||
subkey | A name of the registry key. | ||||||||
valname | The name of the value being written. | ||||||||
value | The number being written. | ||||||||
ret | The array of strings all the created keys will be written to. It can be 0. |
Return value
0 | No data has been written. |
1 | The value of the key was created during the writing process. |
2 | Data is written into the existing value. |
Related links | Source |