Message Queuing Service Support

The key to building a distributed application that runs on a Windows CE–based device is to provide a way for the various parts of the application to communicate with each other. One option now available to Windows CE developers is to use the Microsoft Message Queueing Service (MSMQ).

MSMQ technology enables applications running at different times to communicate across networks and systems that may be temporarily offline. To accomplish this, applications communicate with each other by sending messages to various message queues. The receiving application then reads the message stored in the queue once the network connection is reestablished. MSMQ provides guaranteed message delivery, efficient routing, and priority-based messaging.

Windows CE supports a subset of the Win32 MSMQ API. The following sections describe how MSMQ on Windows CE differs from the Win32 MSMQ API. For more information on MSMQ concepts, see "Message Queuing Services" in the Win32 Platform SDK.