CConnectionPoint::GetMaxConnections

This method is called by the framework to retrieve the maximum number of connections supported by the connection point. Override this method to limit the number of sinks that can connect to your control. The default implementation returns -1, indicating no limit.

Syntax

virtual int GetMaxConnections( );

At a Glance

Header file: Afxdisp.h
Platforms: H/PC 2.0, Palm-size PC, H/PC Pro
Versions: 2.0 and later
Complete documentation: Visual C++ documentation

See Also

CConnectionPoint::GetConnections