RegEnumValues(Path)

Enumerates all values below the specified path and returns how many elements have been found.

Parameters:

Path The path were all values should be enumerated

Remarks:

Use this function to start enumarting all values below the specified path. Use the RegEnumElement function to retrieve one of these values. See Registry functions for more information.

Example:

iCount=RegEnumPaths("HKLM\Software\Micrsoft\Windows\CurrentVersion") 'enumerate all values below this path
For l=1 to iCount       'perform a loop for every found element
 s=RegEnumElement(l)    'retrieve one of these values
 Call SetUIElement(l,s) 'set data in X-Setup
Next