다음을 통해 공유


CONNECTION_PART

Maps a connection point for your OLE control to a specific interface ID.

CONNECTION_PART(theClass, iid, localClass )

매개 변수

  • theClass
    Specifies the name of the control class whose connection point this is.

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

  • localClass
    Specifies the name of the local class that implements the connection point.

설명

예를 들면 다음과 같습니다.

BEGIN_CONNECTION_MAP(CMyClass, CCmdTarget)
    CONNECTION_PART(CMyClass, IID_ISampleSink, SampleConnPt)
END_CONNECTION_MAP()

implements a connection map, with a connection point, that calls the IID_ISinkInterface interface .

요구 사항

헤더: afxdisp.h

참고 항목

참조

BEGIN_CONNECTION_PART

DECLARE_CONNECTION_MAP

BEGIN_CONNECTION_MAP

CONNECTION_IID

개념

MFC 매크로 및 전역