Reg_UpdateMultiStringX64
Description
Section titled “Description”Adds one or more strings to the end of a multistring variable (REG_MULTI_SZ) in 64 bit registry from a 32 bit context. Separate sValue with | (pipe) to add more values.
The existing strings are kept. If the current value already contains the text in sValue (not case-sensitive), the variable isn’t changed. If the variable or the key doesn’t exist, it’s created.
Syntax
Section titled “Syntax”Reg_UpdateMultiStringX64(sHandle, sKey, sVariable, sValue) as Boolean
Parameters
Section titled “Parameters”sHandle (String)
Section titled “sHandle (String)”Registry hive, for example HKLM. For all accepted values, see Registry Functions.
sKey (String)
Section titled “sKey (String)”Subkey path
sVariable (String)
Section titled “sVariable (String)”Name of variable to contain the value
sValue (String)
Section titled “sValue (String)”One or more strings to add, separated by | (pipe)
Return value
Section titled “Return value”The new content is stored in gaValue as an array and in gsValue as strings separated by | (pipe).
Example
Section titled “Example”If bStatus Then bStatus = Reg_UpdateMultiStringX64("HKLM", "Software\KeyName", "ValueName", "Randers|Odense")