Compartir a través de


PROPID_M_VERSION

A version of this page is also available for

Windows Embedded CE 6.0 R3

4/8/2010

This property specifies the version of MSMQ used to send the message.

  • Type Indicator
    VT_UI4
  • PROPVARIANT Field
    ulVal
  • Property Values
    The following return values are possible.

    Value Description

    0x0010

    MSMQ 1.0 was used to send the message.

    0x0020

    MSMQ 2.0 was used to send the message.

Remarks

The sending Queue Manager attaches PROPID_M_VERSION to the message when it is sent.

To find out what version of MSMQ the sending application is using, specify PROPID_M_VERSION in the MQMSGPROPS structure. Then, call MQReceiveMessage and examine the returned value.

This property is not available when you use COM components.

Note

OS versions prior to 2.12 require the MSMQ add-on pack.

Requirements

Header mq.h
Windows Embedded CE Windows CE 2.0 and later
Windows Mobile Windows Mobile Version 5.0 and later

See Also

Reference

MQReceiveMessage
MQMSGPROPS