Gentee Programming Language > Documentation > Libraries Download documentation

reggetnum

Get the numerical value of a registry key.
 
uint reggetnumdef(
      uint   root,
      str   subkey,
      str   valname,
      uint   defval
)

Parameters

rootA root key.
$HKEY_CLASSES_ROOT
$HKEY_CURRENT_USER
$HKEY_LOCAL_MACHINE
$HKEY_USERS
subkeyA name of the registry key.
valnameA name of the specified key value.
defvalThe default number in case there is no value.



 
uint reggetnum(
      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.
valnameA name of the specified key value.

Return value

A numerical value is returned.

See also

    Working with the Registry


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