Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
MSDN Library
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

Configuring an Application to Use a Specific Network

Windows Mobile 6.5
4/8/2010

In specific cases, an application may need to bypass Connection Planner and explicitly connect with a specific network GUID. For example, a Multimedia Messaging Service (MMS) application may need to connect to a specific MMS APN. In another example, a traffic application may need to connect to a specific GPRS APN, even if a cheaper connection, such as Wi-Fi, is present.

To support scenarios in which an application needs to bypass Connection Planner and connect with a specific network GUID, Connection Manager exposes the ConnMgrMapConRef function. This function allows applications to pass a specific GUID as a parameter to connect to a specific network. An application can choose to specify a connection object, either a Network Access Point (NAP) or a proxy object, to connect to, and Connection Manager will return a destination network GUID that uniquely identifies the given connection. When the application subsequently calls ConnMgrEstablishConnection with this GUID, Connection Manager ensures that the right connection path is chosen as specified by the application originally.

Community Additions

Show:
© 2015 Microsoft