Registering Customized Messaging Rules Clients

Windows Mobile 6.5
4/8/2010

Customized messaging rules clients require two separate registry entries.

  • The first entry registers the messaging rules client as a COM server, specifying its GUID.
  • The second entry specifies the message transport(s) to use.

  • Create a new registry key with the following registry key structure. In the key, replace {GUID} with the messaging rules client's Globally Unique Identifier (GUID).

    [HKEY_CLASSES_ROOT\CLSID\{GUID}\InProcServer32]
        "Default" = REG_SZ: "MyMS.dll"     // The DLL that implements the Messaging Rules Client.
    

  • Create and save a new registry key with the following registry key structure. In the key, replace <TransportName> with the name of the message transport used for these messages. Replace the <CLSID> key name with the class identifier (CLSID) for the Messaging Rules Client.

    [HKEY_LOCAL_MACHINE\Software\Microsoft\Inbox\Svc\<TransportName>\Rules]
        <CLSID> = RG_DWORD: 0x000001
    
    Bb446189.note(en-us,MSDN.10).gifNote:
    Currently, SMS is the only supported value for <TransportName>.

The following code example demonstrates how to register a custom messaging rules client with a DLL named "SMSChess.dll".

[HKEY_CLASSES_ROOT\CLSID\{28A42C00-1255-4dc7-9E0A-FA2F77EFB694}\InProcServer32]   // Be sure to include the braces in the GUID entry.
    = "SMSChess.dll"

The following code example demonstrates how to register the message transport(s).

[HKEY_LOCAL_MACHINE\Software\Microsoft\Inbox\Svc\SMS\Rules]
    "{28A42C00-1255-4dc7-9E0A-FA2F77EFB694}" = 0x000001

Community Additions

Show: