IEnumVARIANT::Reset Method
Resets the enumeration sequence to the beginning.
HRESULT Reset()
There is no guarantee that exactly the same set of variants will be enumerated the second time as was enumerated the first time. Although an exact duplicate is desirable, the outcome depends on the collection being enumerated. You may find that it is impractical for some collections to maintain this condition (for example, an enumeration of the files in a directory).
Show: