EnglishРусский  

Ads

Perfect Automation tool
All-In-One: Script editor, Launcher, Scheduler, Keyboard & Mouse Recorder. Try now!

CreateInstall
Freeware and commercial installers.

Cell Phone Batteries
Batteries Plus offers batteries for laptop, camcorder, cell phone, camera.

Gentee needs your help!
How to advertise with us
 
laptop battery

buf.regset

Writing a value. Write the data of an buf object as registry key value. If there is no key, it will be created.

method uint buf.regset (
   uint root,
   str subkey,
   str valname,
   uint regtype,
   arrstr ret
)

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 value being written.
regtype Value type.
$REG_NONEUnknown.
$REG_SZString.
$REG_EXPAND_SZExpanded string. String with environment variables.
$REG_BINARYBinary data.
$REG_DWORDNumber.
$REG_MULTI_SZString sequence.
ret The array of strings all the created keys will be written to. It can be 0.

Return value

0No data has been written.
1The value of the key was created during the writing process.
2Data is written into the existing value.

Related links

Source

Edit