This documentation is archived and is not being maintained.
Visual Studio .NET 2003
Maps a connection point for your OLE control to a specific interface ID.
CONNECTION_PART(theClass, iid, localClass )
- Specifies the name of the control class whose connection point this is.
- The interface ID of the interface called by the connection point.
- Specifies the name of the local class that implements the connection point.
BEGIN_CONNECTION_MAP(CSampleCtrl, COleControl) CONNECTION_PART(CSampleCtrl, IID_ISinkInterface, MyConnPt) END_CONNECTION_MAP()
implements a connection map, with a connection point, that calls the
IID_ISinkInterface interface .