Anteckning
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
This class implements a connection point container to manage a collection of IConnectionPointImpl objects.
Syntax
template<class T>
class ATL_NO_VTABLE IConnectionPointContainerImpl
: public IConnectionPointContainer
Parameters
T
Your class, derived from IConnectionPointContainerImpl.
Members
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. |
Remarks
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.
Inheritance Hierarchy
IConnectionPointContainer
IConnectionPointContainerImpl
Requirements
Header: atlcom.h
IConnectionPointContainerImpl::EnumConnectionPoints
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.
IConnectionPointContainerImpl::FindConnectionPoint
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.