Important: |
---|
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist. |
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.
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 CreateMsgQueuefunction 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 Message Queue Point-to-Point API contains the following functions.
Function | Description |
---|---|
Creates or opens a user-defined message queue. |
|
Opens a handle to an existing message queue. |
|
Closes an open message queue. |
|
Reads a single message from a message queue. |
|
Writes a single message from a message queue. |
|
Returns information about a message queue. |
The Message Queue Point-to-Point API contains the following structures.
Structure | Description |
---|---|
Contains information about a message queue. |
|
Contains information about a message queue. |
Note: |
---|
Message queuing in the kernel is not related to the Microsoft Message Queuing (MSMQ) implementation for Windows Mobile. For information about MSMQ, see Message Queuing. |