次の方法で共有


MQMSGPROPS (Compact 2013)

3/26/2014

This structure describes a set of message properties.

It specifies the number of properties (cProp) in the set, the identifier of each property (aPropID), and the values (or placeholder for values) of each property (aPropVar).

It also provides an optional status array (aStatus) for errors (some properties do not return a status) associated with the property.

Syntax

typedef struct  tagMQMSGPROPS {
  DWORD cProp;
  MSGPROPID aPropID[];
  PROPVARIANT aPropVar[];
  HRESULT aStatus[];
} MQMSGPROPS;

Members

  • cProp
    Number of properties in the set.
  • aPropVar
    Value of properties in the set.

    For information about the structure, see aPropVar.

  • aStatus
    Optional. Returns errors that indicate the status of the properties in the set; for example, when a property cannot be set by the call.

    For information about the structure, see aStatus.

Note

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

Requirements

Header

mq.h

See Also

Reference

MSMQ Structures
aPropID
aPropVar
aStatus
PROPID_M_BODY
PROPID_M_LABEL
PROPID_M_MSGID