共用方式為


IConnectionPointImpl::GetConnectionPointContainer

Retrieves an interface pointer to the connectable object.

STDMETHOD(GetConnectionPointContainer)( 
   IConnectionPointContainer** ppCPC  
);

Remarks

See IConnectionPoint::GetConnectionPointContainer in the Windows SDK.

Requirements

Header: atlcom.h

See Also

Reference

IConnectionPointImpl Class

IConnectionPointContainerImpl Class