Skip to content

Reg\_GetMultiStringX64

Gets the value of a registry variable of type multi string in 64 bit registry from a 32 bit context

Reg_GetMultiStringX64(sHandle, sKey, sVariable, bMustExist) as Boolean

sHandle (String)

HKEY-handle

sKey (String)

Subkey path

sVariable (String)

Name of variable to read

bMustExist (Boolean)

TRUE if variable must exist

Result will be stored in gaValue

VBScript

If bStatus Then bStatus = Reg_GetMultiStringX64("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)
Next
End If

Scripting Guidelines

Registry Functions