Reg\_GetMultiString
Description
Section titled “Description”Gets the value of a registry variable of type multi string
Syntax
Section titled “Syntax”Reg_GetMultiString(sHandle, sKey, sVariable, bMustExist) as Boolean
Parameters
Section titled “Parameters”sHandle (String)
HKEY-handle
sKey (String)
Subkey path
sVariable (String)
Name of variable to read
bMustExist (Boolean)
TRUE if variable must exist
Return value
Section titled “Return value”Result will be stored in gaValue
Example
Section titled “Example”VBScript
If bStatus Then bStatus = Reg_GetMultiString("HKLM", "Software\KeyName", "ValueName", False)If bStatus And IsArray(gaValue) Then For index = LBound(gaValue) to UBound(gaValue) bStatus = Job_WriteLog("Custom", "Index #" & index & ": " & cStr(gaValue(index)), bStatus, True) NextEnd IfRelated functions
Section titled “Related functions”