共用方式為


CConnectionPoint::GetConnections

Call this function to retrieve all active connections for a connection point.

const CPtrArray* GetConnections( );

Return Value

A pointer to an array of active connections (sinks). Some of the pointers in the array may be NULL. Each non-NULL pointer in this array can be safely converted to a pointer to the sink interface using a cast operator.

Requirements

Header: afxdisp.h

See Also

Reference

CConnectionPoint Class

Hierarchy Chart

CConnectionPoint::GetMaxConnections

Other Resources

CConnectionPoint Members