IConnectionPoint::EnumConnections

HRESULT IConnectionPoint::EnumConnections([out] IEnumConnections **ppEnum);

Creates an enumerator object for iteration through the connections that exist to this connection point.

Argument

Type

Description

ppEnum

IEnumConnections *

[out] A pointer to the caller's variable to receive the interface pointer of the newly created enumerator. The caller is responsible for releasing this pointer when it is no longer needed.


Return Value

Meaning

S_OK

Success.

E_POINTER

The address in ppEnum is not valid (such as NULL)

E_NOTIMPL

The connection point does not support enumeration.

E_UNEXPECTED

An unknown error occurred.

E_OUTOFMEMORY

There was not enough memory to create the enumerator.