Reg_GetBinaryX64
Description
Gets the value of a variable of type binary in 64 bit registry from a 32 bit context
Â
Syntax
Reg_GetBinaryX64(sHandle, sKey, sVariable, bMustExist) As Boolean
Â
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
Result will be stored in gaValue
Â
Example
VBScript
If bStatus Then bStatus = Reg_GetBinaryX64("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
Â