| Gentee Programming Language > Documentation > Libraries | Download documentation |
Write the data of an buf object as registry key value. If there is no key, it will be created.
uint buf.regset( uint root, str subkey, str valname, uint regttype, arr ret of str )
root A root key.
$HKEY_CLASSES_ROOT
$HKEY_CURRENT_USER
$HKEY_LOCAL_MACHINE
$HKEY_USERSsubkey A name of the registry key. valname The name of the value being written. regttype Value type. $REG_SZ string $REG_EXPAND_SZ string with environment variables $REG_BINARY binary data $REG_DWORD number $REG_MULTI_SZ string sequence ret of str The array of strings all the created keys will be written to. It can be 0.
0 no data has been written 1 the value of the key was created during the writing process 2 data is written into the existing value
Copyright © 2004-2006 Gentee Inc. All rights reserved. |