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.
A version of this page is also available for
4/8/2010

You create a queue by calling the MQCreateQueuefunction. In Windows Embedded CE, MQCreateQueuecan create only a local private queue.

A connection to a domain controller is not required. Instead, a peer-to-peer setup that does not use a directory-service interface such as Microsoft Active Directory® is used. Because information about public queues is stored in Active Directory, you cannot create public queues in the embedded implementation of Windows.

ACL-based security is not supported. Set the pSecurityDescriptorparameter to NULL.

The following properties specified with the pQueuePropsparameter have limited support on Windows Embedded CE.

Property Embedded support

PROPID_Q_AUTHENTICATE

Only MQ_AUTHENTICATE_NONE is enabled.

PROPID_Q_BASEPRIORITY

Accepted but not useful because there is no way to query it from outside.

PROPID_Q_PATHNAME

Only private path names are enabled.

PROPID_Q_PRIV_LEVEL

Only MQ_PRIV_LEVEL_NONE is enabled.

PROPID_Q_TRANSACTION

Only MQ_TRANSACTIONAL_NONE is enabled.

PROPID_Q_TYPE

Accepted but useless because there is no way to query it from outside.

By default, the embedded implementation of MQCreateQueuecreates queues that have no journal.

To create a queue that has a journal, set the PROPID_Q_JOURNAL to MQ_JOURNAL. Journaling is automatically turned on in the new queue.

To turn journaling off, call MQSetQueueProperties.

Calling MQSetQueuePropertiesto activate message journaling on a queue that was created without a journal will fail.

See Also