IConnectionPointContainerImpl Class

 

The new home for Visual Studio documentation is Visual Studio 2017 Documentation on docs.microsoft.com.

The latest version of this topic can be found at IConnectionPointContainerImpl Class.

This class implements a connection point container to manage a collection of IConnectionPointImpl objects.

template<class T>  
class ATL_NO_VTABLE IConnectionPointContainerImpl 
   : public IConnectionPointContainer

Parameters

T
Your class, derived from IConnectionPointContainerImpl.

Public Methods

NameDescription
IConnectionPointContainerImpl::EnumConnectionPointsCreates an enumerator to iterate through the connection points supported in the connectable object.
IConnectionPointContainerImpl::FindConnectionPointRetrieves an interface pointer to the connection point that supports the specified IID.

IConnectionPointContainerImpl implements a connection point container to manage a collection of IConnectionPointImpl objects. IConnectionPointContainerImpl provides two methods that a client can call to retrieve more information about a connectable object:

  • EnumConnectionPoints allows the client to determine which outgoing interfaces the object supports.

  • FindConnectionPoint allows the client to determine whether the object supports a specific outgoing interface.

For information about using connection points in ATL, see the article Connection Points.

IConnectionPointContainer

IConnectionPointContainerImpl

Header: atlcom.h

Creates an enumerator to iterate through the connection points supported in the connectable object.

STDMETHOD(EnumConnectionPoints)(IEnumConnectionPoints** ppEnum);

Remarks

See IConnectionPointContainer::EnumConnectionPoints in the Windows SDK.

Retrieves an interface pointer to the connection point that supports the specified IID.

STDMETHOD(FindConnectionPoint)(REFIID riid, IConnectionPoint** ppCP);

Remarks

See IConnectionPointContainer::FindConnectionPoint in the Windows SDK.

IConnectionPointContainer
Class Overview

Show: