Compartir a través de


CONNECTION_IID

Use between the BEGIN_CONNECTION_PART and END_CONNECTION_PART macros to define an interface ID for a connection point supported by your OLE control.

CONNECTION_IID(iid )

Parameters

  • iid
    The interface ID of the interface called by the connection point.

Remarks

The iid argument is an interface ID used to identify the interface that the connection point will call on its connected sinks. For example:

CONNECTION_IID(IID_ISampleSink)

specifies a connection point that calls the ISinkInterface interface.

Requirements

Header: afxdisp.h

See Also

Concepts

MFC Macros and Globals

BEGIN_CONNECTION_PART

DECLARE_CONNECTION_MAP

END_CONNECTION_PART