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

  • Type Indicator
  • Property Values
    Possible return values are listed in the following table.
    Value Description
    0x0010 MSMQ 1.0 was used to send the message.
    0x0020 MSMQ 2.0 was used to send the message.


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 are using COM components.


Runs on Versions Defined in Include Link to
Windows CE OS 2.0 and later. Versions prior to 2.12 require the MSMQ add-on pack. Mq.h    

Note   This API is part of the complete Windows CE OS package as provided by Microsoft. The functionality of a particular platform is determined by the original equipment manufacturer (OEM) and some devices may not support this API.

See Also

MQReceiveMessage, MQMSGPROPS

 Last updated on Tuesday, July 13, 2004

© 1992-2000 Microsoft Corporation. All rights reserved.