IEnumConnectionPoints::Reset

HRESULT IEnumConnectionPoints::Reset(void);

Instructs the enumerator to position itself back to the beginning of the list of elements.

Argument

Type

Description

none


Return Value

Meaning

S_OK

The enumerator was successfully reset to the beginning of the list.

S_FALSE

The enumerator was not reset to the beginning of the list.

E_UNEXPECTED

An unknown error occurred.


Comments There is no guarantee that the same set of elements will be enumerated on each pass through the list: it depends on the collection being enumerated. It is too expensive for some collections, such as files in a directory, to maintain this condition.