CConnectionPoint::GetMaxConnections

This member function is called by the framework to retrieve the maximum number of connections supported by the connection point. Override this function if you want 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:
Versions: 2.0 and later
Complete documentation Visual C++ documentation

See Also

CConnectionPoint Overview, Application Architecture Classes, CConnectionPoint::GetConnections