Resets the enumeration sequence to the beginning.
The SCODE obtained from the returned HRESULT is one of the following:
There is no guarantee that exactly the same set of variants will be enumerated
the second time as was enumerated the first. Although an exact duplicate is
desirable, the outcome depends on the collection being enumerated. Some
collections (for example, an enumeration of the files in a directory) will find it
impractical to maintain this condition.
The following code implements IEnumVariant::Reset
for collections in the Lines sample (ENUMVAR.CPP):
m_lCurrent = m_lLBound;
- Software for developers
Software for Android Developers
- More information resources
Unix Manual Pages