IEnumFORMATETC::Reset method (objidl.h)

Resets the enumeration sequence to the beginning.

Syntax

HRESULT Reset();

Return value

This method returns S_OK on success.

Remarks

There is no guarantee that the same set of objects will be enumerated after the reset operation has completed. A static collection is reset to the beginning, but it can be too expensive for some collections, such as files in a directory, to guarantee this condition.

Requirements

Requirement Value
Minimum supported client Windows 2000 Professional [desktop apps only]
Minimum supported server Windows 2000 Server [desktop apps only]
Target Platform Windows
Header objidl.h

See also

IEnumFORMATETC