How to: Register 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\Transports\<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.

Example

The following example demonstrates how to register an MMS message transport.

[HKEY_LOCAL_MACHINE\Software\Microsoft\Inbox\Transports\MyMMS]
    "Name"="MyMMS"
    "DLL"="MyMMS.dll"

See Also

Messaging Transports

Messaging Overview

Messaging

How to: Register Customized Messaging Forms

How to: Register Customized Messaging Rules Clients

Messaging Sample Code

Last updated on Friday, April 22, 2005

© 2005 Microsoft Corporation. All rights reserved.

Send feedback on this topic to the authors.