Gentee Programming Language > Documentation > Libraries Download documentation

regsetmultistr

Write an array of strings as a value of a registry key of the $REG_MULTISZ type. If there is no key, it will be created.
 
uint regsetmultistr(
      uint   root,
      str   subkey,
      str   valname,
      arr   value of str,
      arr   ret of str
)

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 value being written.
value of strThe arrays of strings being written.
ret of strThe 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

See also

    Working with the Registry


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