Registering Customized Messaging Transports
Customized messaging transports require one registry entry. It specifies the name for the new message transport, along with the name of the DLL that contains it.
Note For information on how to work with the Windows CE registry, see Registry Fundamentals in the Windows CE documentation.
To register register a customized messaging transport
Create and save a new registry key with the following registry key structure. In the key, replace <TransportName> with the name of the new message transport. Use this same name for the value of the "Name" key entry.
[HKEY_LOCAL_MACHINE\Software\Microsoft\Inbox\Svc\<TransportName>] "Name" = REG_SZ: TransportName "DLL" = REG_SZ: The DLL containing the transport entry point. "UserCanCreate" = REG_DWORD: An integer that indicates whether users can create new accounts using this transport.
Note Use of the UserCanCreate key entry is optional. If used and if it has a value of 1, the user can create new accounts using this transport. The transport appears in the Transport Picker in the Service Setup Wizard.
Code Example
The following code example demonstrates how to register an MMS message transport.
Note To make the following code example easier to read, security checking and error handling are not included. This code example should not be used in a release configuration unless it has been modified to include them.
[HKEY_LOCAL_MACHINE\Software\Microsoft\Inbox\Transports\MyMMS]
"Name"="MyMMS"
"DLL"="MyMMS.dll"
See Also
How to Create a Messaging Application | Messaging Application Development for Windows Mobile-based Devices | Messaging | Messaging Sample Code | Messaging Forms | How to: Register Customized Messaging Rules Clients | How to: Register Customized Messaging Forms
Send Feedback on this topic to the authors