/
Reg_GetStringX64
Reg_GetStringX64
Description
Gets the value of a registry variable of type string in 64 bit registry from a 32 bit context
Syntax
Reg_GetStringX64(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 gsValue
Example
VBScript
If bStatus Then bStatus = Reg_GetStringX64("HKLM", "Software\KeyName", "ValueName", False) If bStatus Then bStatus = Job_WriteLog("Custom", "gsValue: " & gsValue, bStatus, True)