description | title | ms.date | f1_keywords | helpviewer_keywords | ms.assetid | |||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
Learn more about: IConnectionPointContainerImpl Class |
IConnectionPointContainerImpl Class |
11/04/2016 |
|
|
10db5a8d-8be9-4d9d-8a82-8ab9ffe3e9d6 |
This class implements a connection point container to manage a collection of IConnectionPointImpl objects.
template<class T>
class ATL_NO_VTABLE IConnectionPointContainerImpl
: public IConnectionPointContainer
T
Your class, derived from IConnectionPointContainerImpl
.
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:
-
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);
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);
See IConnectionPointContainer::FindConnectionPoint in the Windows SDK.