Gentee Programming Language > Documentation > Libraries Download documentation

buf.regget

This method writes the value of a registry key into an object of the buf type.
 
buf buf.regget(
      uint   root,
      str   subkey,
      str   valname,
      uint   regtype
)

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.
regtypeThe pointer to uint the type of this value will be written to. It can be 0.

Return value

Returns the object which method has been called.

See also

    Working with the Registry


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