Reg_EnumKey
Description
Section titled “Description”Enumerates subkeys
Syntax
Section titled “Syntax”Reg_EnumKey(sHandle, sKey, bMustExist) as Boolean
Parameters
Section titled “Parameters”sHandle (String)
Section titled “sHandle (String)”HKEY-Handle
sKey (String)
Section titled “sKey (String)”Subkey path
bMustExist (Boolean)
Section titled “bMustExist (Boolean)”TRUE if the key must exist
Return value
Section titled “Return value”Result will be stored in gaValue
Example
Section titled “Example”If bStatus Then bStatus = Reg_EnumKey("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