RegEnumPaths(Path)

Enumerates all keys (paths) below the specified path and returns how many elements have been found.

Parameters:

Path The path were all keys should be enumerated

Remarks:

Use this function to start enumarting all keys 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") 'enumerate all keys 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