Adding a Custom Transport to the Target Connectivity Dialog Box (Windows Embedded CE 6.0)
1/5/2010
The Target Device Connectivity Options dialog box contains a drop-down list of available transport options. The Core Connectivity infrastructure uses your selection from the Transport drop-down list to select which screen the Settings button displays.
For example, if you select an Ethernet Transport from the drop-down list and then press Settings, the Ethernet Transport Settings dialog box appears.
The Core Connectivity infrastructure obtains the transport properties presented to the user from the transport as XML data stored by the datastore.
When the Platform Builder user opens the Target Device Connectivity Options dialog box and chooses Settings, the following series of events is triggered:
- To create the service, the service host calls a query interface for ICcServiceConfigure.
- If the call was successful, the service host calls ICcServiceConfigure::Configure with the parent hWnd
- The service host calls ICcServiceConfigure::GetServiceParamsShort to acquire the property values.
This step returns the string of values that is displayed below the Transport drop-down list on the Target Device Connectivity Options dialog box.