RegEnumElement(Index)

Returns an element that has been set using the RegEnumPaths or RegEnumValues function.

Parameters:

Index The index of the element that should be retrieved

Remarks:

This function can be used regardless if the RegEnumPaths or the RegEnumValues function has been used. The first element has the index of one.

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