IConnectionPoint::EnumConnections

Creates an enumerator object to iterate through the current connections for this connection point.

HRESULT EnumConnections(
  IEnumConnections **ppEnum  //Address of output variable that 
                             // receives the IEnumConnections interface 
                             // pointer
);
 

Parameters

ppEnum
[out] Address of IEnumConnections* pointer variable that receives the interface pointer to the newly created enumerator.

Return Values

This method supports the standard return values E_OUTOFMEMORY and E_UNEXPECTED, as well as the following:

S_OK
The enumerator object was successfully created.
E_POINTER
The address in ppEnum is not valid. For example, it may be NULL.
E_NOTIMPL
The connection point does not support enumeration.

Remarks

Notes to Callers

The caller is responsible for calling (*ppEnum)->Release when the enumerator is no longer needed.

QuickInfo

  Windows NT: Use version 4.0 or later.
  Windows: Use Windows 95 or later.
  Windows CE: Unsupported.
  Header: Declared in ocidl.h.

See Also

IEnumConnections