Reg_EnumKeyX64

Description

Enumerates subkeys in 64 bit registry from a 32 bit context

 

Syntax

Reg_EnumKeyX64(sHandle, sKey, bMustExist) as Boolean

 

Parameters

sHandle (String)

HKEY-Handle

sKey (String)

Subkey path

bMustExist (Boolean)

TRUE if the key must exist

 

Return value

Result will be stored in gaValue

 

Example

VBScript
If bStatus Then bStatus=Reg_EnumKeyX64("HKLM", "Software\KeyName", False)
If bStatus And IsArray(gaValue) Then
  For index = LBound(gaValue) to UBound(gaValue)
    bStatus = Job_WriteLog("Custom", "Index #" & index & ": " & cStr(gaValue(index)), bStatus, True)
  Next
End If

Scripting Guidelines

 

Related functions

Registry Functions