IEnumConnections::Reset method

Resets the enumeration sequence to the beginning.

Syntax

HRESULT Reset(

);

Parameters

This method has no parameters.

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

   
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