Gentee Programming Language > Documentation > Libraries Download documentation

regvaltype

Get the type of a registry key value.
 
uint regvaltype(
      uint   root,
      str   subkey,
      str   valname
)

Parameters

rootA root key.
$HKEY_CLASSES_ROOT
$HKEY_CURRENT_USER
$HKEY_LOCAL_MACHINE
$HKEY_USERS
subkeyA name of the registry key.
valnameThe 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_SZstring
$REG_EXPAND_SZstring with environment variables
$REG_BINARYbinary data
$REG_DWORDnumber
$REG_MULTI_SZstring sequence

See also

    Working with the Registry


 Copyright © 2004-2006 Gentee Inc. All rights reserved.