共用方式為


CConnectionPoint::GetContainer

Called by the framework to retrieve the IConnectionPointContainer for the connection point.

virtual LPCONNECTIONPOINTCONTAINER GetContainer();

Return Value

If successful, a pointer to the container; otherwise NULL.

Remarks

This function is typically implemented by the BEGIN_CONNECTION_PART macro.

Requirements

Header: afxdisp.h

See Also

Concepts

CConnectionPoint Class

CConnectionPoint Members

Hierarchy Chart

BEGIN_CONNECTION_PART