Skip to content

Reg_GetIntegerX64

Gets the value of a registry variable of type integer in 64 bit registry from a 32 bit context

Reg_GetIntegerX64(sHandle, sKey, sVariable, bMustExist) as Boolean

HKEY-handle

Subkey path

Name of variable to read

TRUE if variable must exist

Result will be stored in giValue

If bStatus Then bStatus = Reg_GetIntegerX64("HKLM", "Software\KeyName", "ValueName", False)
If bStatus Then bStatus = Job_WriteLog("Custom", "giValue: " & giValue, bStatus, True)

Scripting Guidelines

Registry Functions Constants Package Property Variables