Reg_EnumKey
Description
Enumerates subkeys
Â
Syntax
Reg_EnumKey(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_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) Next End If
Â