Reg_GetIntegerX64
Description
Section titled “Description”Gets the value of a registry variable of type integer in 64 bit registry from a 32 bit context
Syntax
Section titled “Syntax”Reg_GetIntegerX64(sHandle, sKey, sVariable, bMustExist) as Boolean
Parameters
Section titled “Parameters”sHandle (String)
Section titled “sHandle (String)”HKEY-handle
sKey (String)
Section titled “sKey (String)”Subkey path
sVariable (String)
Section titled “sVariable (String)”Name of variable to read
bMustExist (Boolean)
Section titled “bMustExist (Boolean)”TRUE if variable must exist
Return value
Section titled “Return value”Result will be stored in giValue
Example
Section titled “Example”If bStatus Then bStatus = Reg_GetIntegerX64("HKLM", "Software\KeyName", "ValueName", False)If bStatus Then bStatus = Job_WriteLog("Custom", "giValue: " & giValue, bStatus, True)