Reg_GetInteger
Description
Gets the value of a registry variable of type integer
Â
Syntax
Reg_GetInteger(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 giValue
Â
Example
VBScript
If bStatus Then bStatus = Reg_GetInteger("HKLM", "Software\KeyName", "ValueName", True) If bStatus Then bStatus = Job_WriteLog("Custom", "giValue: " & giValue, bStatus, True)
Â