Reg_EnumVariableX64
Description
Section titled “Description”Enumerates variables in 64 bit registry from a 32 bit context
Syntax
Section titled “Syntax”Reg_EnumVariableX64(sHandle, sKey, bMustExist) as Boolean
Parameters
Section titled “Parameters”sHandle (String)
Section titled “sHandle (String)”Registry hive, for example HKLM. For all accepted values, see Registry Functions.
sKey (String)
Section titled “sKey (String)”Subkey path
bMustExist (Boolean)
Section titled “bMustExist (Boolean)”TRUE if the key must exist. If TRUE, the function also returns FALSE when the key has no variables.
Return value
Section titled “Return value”The variable names are stored in gaValue as an array. gbValue is TRUE if at least one variable is found, otherwise FALSE.
Example
Section titled “Example”If bStatus Then bStatus = Reg_EnumVariableX64("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) NextEnd If