Set the number of connections that should be left active for a particular system. Normally, the cwbobj.dll will time out and drop connections after they have not been used for a while. With this API you can force it to leave open a certain number of connections for this system.
unsigned int CWB_ENTRY cwbOBJ_SetConnectionsToKeep( const char *systemName unsigned int connections cwbSV_ErrHandle errorHandle);
The following list shows common return values.
The default number of connections left open per system is 0. The connections are made per process, so this API only affects connections under the process it is called under. Setting the number of connections to be left open does not open any new connections.