Connectable Object Interfaces
Support for connectable objects requires support for four interfaces:
- IConnectionPointContainer on the connectable object
- IConnectionPoint on the connection point object
- IEnumConnectionPoints on an enumerator object
- IEnumConnections on an enumerator object
The latter two are defined as standard enumerators for the types IConnectionPoint * and CONNECTDATA.
Additionally, the connectable object can optionally support IProvideClassInfo and IProvideClassInfo2 to provide enough information to a client so that the client can provide support for the outgoing interface at run time.
Finally, the client must provide a sink object that implements the outgoing interface, which is a custom COM interface defined by the connectable object.
For more information, see the following topics:
Related topics