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
| Name | Description |
|---|---|
| IConnectionPointContainerImpl::EnumConnectionPoints | Creates an enumerator to iterate through the connection points supported in the connectable object. |
| IConnectionPointContainerImpl::FindConnectionPoint | Retrieves 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:
EnumConnectionPointsallows the client to determine which outgoing interfaces the object supports.FindConnectionPointallows 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.