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.
virtual int GetMaxConnections( );
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 |
CConnectionPoint::GetConnections