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.
virtual int GetMaxConnections( );
Header file: | Afxdisp.h |
Platforms: | |
Versions: | 2.0 and later |
Complete documentation | Visual C++ documentation |
CConnectionPoint Overview, Application Architecture Classes, CConnectionPoint::GetConnections