EnglishРусский  
The project is closed! You can look at a new scripting language. It is available on GitHub.
Also, try our open source cross-platform automation software.

Ads

Installer and installation software
Commercial and Freeware installers.

regvaltype

Get the type of a registry key value.

func uint regvaltype (
   uint root,
   str subkey,
   str valname
)

Parameters

root A root key.
$HKEY_CLASSES_ROOTClasses Root.
$HKEY_CURRENT_USERCurrent user's settings.
$HKEY_LOCAL_MACHINELocal machine settings.
$HKEY_USERSAll users' settings
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_NONEUnknown.
$REG_SZString.
$REG_EXPAND_SZExpanded string. String with environment variables.
$REG_BINARYBinary data.
$REG_DWORDNumber.
$REG_MULTI_SZString sequence.

Related links

Source