IEnumConnections::Reset method (ocidl.h)

Resets the enumeration sequence to the beginning.

Syntax

HRESULT Reset();

Return value

The return value is S_OK.

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 | UWP apps]
Minimum supported server Windows 2000 Server [desktop apps | UWP apps]
Target Platform Windows
Header ocidl.h (include ObjIdl.h)

See also

IEnumConnections