Connection Manager Connectivity Functions (Compact 2013)
3/26/2014
You can use Connection Manager Connectivity functions to help establish network connections for an application. The following table lists the Connectivity functions.
- CmAcquireConnection
Acquires a connection for use.
- CmCloseSession
Closes a connection session.
- CmCreateSession
Creates a connection session for the purpose of selecting and acquiring a connection.
- CmGetConnectionSelectionResult
Returns the best result of an attempt to acquire a connection and an IP address pair.
- CmGetFirstCandidateConnection
Gets the first candidate connection that can be used by an application to try to connect to the specified host.
- CmGetFirstIpAddr
Gets the first address associated with the specified destination host.
- CmGetNextCandidateConnection
Gets the next candidate connection that can be used by an application to attempt to connect to the specified host.
- CmGetNextIpAddr
Gets the next address associated with the specified destination host.
- CmGetPreferencesNeededSize
Returns the minimum memory allocation required by the CM_PREFERENCES structure.
- CmGetRequirementsNeededSize
Returns the minimum memory allocation required by the CM_REQUIREMENTS structure.
- CmGetTypeSpecificInfoByConnectionName
Retrieves data specific to the connection type.
- CmReleaseConnection
Releases a connection.
- CmSetDataActivityState
Informs Connection Manager if the application intends to use hSession to send data soon.
- CmSetPreferences
Associates the connection preferences with a session.
- CmSetPriority
Associates a priority with a session.
- CmSetRequirements
Associates connection requirements with a session.
See Also
Reference
Connection Manager Connectivity Reference
Connection Manager Common Enumerations
Connection Manager Connection Configuration Reference
Connection Manager Policy Configuration Reference
Connection Manager Status and Notification Reference