Message Queue Point-to-Point (Windows CE 5.0)

Windows CE 5.0
Send Feedback

The message queue must be designed to be efficient and use as little memory as possible. The only support provided is for a point-to-point message queue.

Note   Message queuing in the kernel is not related to the Message Queuing (MSMQ) implementation for Windows CE. For information about MSMQ, see Message Queuing.

If there are several readers, each reader can read only the current message at the head of the queue when a read request is made. The CreateMsgQueue function enables the specification of a remote queue.

In addition to the buffer allocated to store messages, a special single message buffer is used to store a high priority message or alert message.

The following table shows the message queue functions used in Windows CE.

FunctionDescription
CreateMsgQueueCreates or opens a user-defined message queue.
OpenMsgQueueOpens a handle to an existing message queue.
CloseMsgQueueCloses an open message queue.
ReadMsgQueueReads a single message from a message queue.
WriteMsgQueueWrites a single message from a message queue.
GetMsgQueueInfoReturns information about a message queue.

The following table shows the message queue structures used in Windows CE.

StructureDescription
MSGQUEUEINFOContains information about a message queue.
MSGQUEUEOPTIONSContains information about a message queue.

See Also

Synchronization


Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.


Show: