PROPID_M_DEST_QUEUE

The PROPID_M_DEST_QUEUE property identifies the target queue of the message.

Type Indicator
VT_LPWSTR
PROPVARIANT Field
pwszVal
Property Values
Format name of the target queue.

Remarks

The PROPID_M_DEST_QUEUE property is only used by the receiving application. MSMQ attaches this property to the message according to the destination queue specified in the call to MQSendMessage.

When PROPID_M_DEST_QUEUE is passed to MQReceiveMessage, PROPID_M_DEST_QUEUE_LEN must be passed as well.

PROPID_M_DEST_QUEUE is typically used when the receiving application wants to determine the destination queue of a message in a journal or dead letter queue. For information on journal and dead letter queues, see Journal Queues and Dead Letter Queues.

QuickInfo

  Windows NT: Requires version 4.0 SP3 or later.
  Windows: Requires Windows 95 or later.
  Windows CE: Unsupported.
  Header: Declared in mq.h.
  Import Library: Use mqrt.lib.
  Unicode: Defined only as Unicode.

See Also

MQReceiveMessage, MQSendMessage, PROPID_M_DEST_QUEUE_LEN