Reg_ExistVariableX64

Description

Checks if specified variable exists in 64 bit registry from a 32 bit context

 

Syntax

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

 

Parameters

sHandle (String)

HKEY-Handle

sKey (String)

Subkey path

sVariable

Variable to test existence of

bMustExist (Boolean)

TRUE if the key must exist

 

Return value

Result will be stored in gbValue

 

Example

VBScript
If bStatus Then bStatus = Reg_ExistVariableX64("HKLM", "Software\KeyName", "ValueName", False)
If bStatus Then bStatus = Job_Writelog("Custom", "gbValue: " & gbValue, bStatus, True)

Scripting Guidelines

 

Related functions

Registry Functions