Skip to content

Reg_GetQword

Gets the value of a registry variable of type qword

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

Registry hive, for example HKLM. For all accepted values, see Registry Functions.

Subkey path

Name of variable to read

TRUE if variable must exist

Result will be stored in giValue. gsValue contains the same value as a string.

If the variable can be read, gbValue is set to TRUE, otherwise FALSE.

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

Scripting Guidelines

Registry Functions Constants Package Property Variables