regvaltype
Get the type of a registry key value.
func uint regvaltype (
uint root,
str subkey,
str valname
)
uint root,
str subkey,
str valname
)
Parameters
| root | A root key.
| ||||||||
| subkey | A name of the registry key. | ||||||||
| valname | The name of the key value the type of which is being determined. |
Return value
0 is returned if the type is not determined or there is no such value. Besides, the following values are possible:
| $REG_NONE | Unknown. |
| $REG_SZ | String. |
| $REG_EXPAND_SZ | Expanded string. String with environment variables. |
| $REG_BINARY | Binary data. |
| $REG_DWORD | Number. |
| $REG_MULTI_SZ | String sequence. |
Related links | Source |