Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

IConnectionPoint::EnumConnections method

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

Syntax


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

Parameters

ppEnum [out]

A pointer to an IEnumConnections interface pointer that receives the newly created enumerator.

Return value

This method can return the standard return values E_OUTOFMEMORY and E_UNEXPECTED, as well as the following values.

Return codeDescription
S_OK

The enumerator object was created successfully.

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

The caller is responsible for calling Release when the enumerator is no longer needed.

Requirements

Minimum supported client

Windows 2000 Professional [desktop apps | Windows Store apps]

Minimum supported server

Windows 2000 Server [desktop apps | Windows Store apps]

Header

OCIdl.h

IDL

OCIdl.idl

IID

IID_IConnectionPoint is defined as B196B286-BAB4-101A-B69C-00AA00341D07

See also

IConnectionPoint
IEnumConnections

 

 

Show:
© 2017 Microsoft