/
Reg_GetBinary
Reg_GetBinary
Description
Gets the value of a registry variable of type binary
Syntax
Reg_GetBinary(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_GetBinary("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