MQMSGPROPS

The MQMSGPROPS 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), and it also provides an optional status array (aStatus) for errors (some properties do not return a status) associated with the property.

For information on how property structures work together, see Property Structures.

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

Members

cProp
Number of properties in the set.
aPropID
Property identifiers (for example, PROPID_M_LABEL, PROPID_M_MSGID, PROPID_M_BODY, and so on). For information about the structure, see aPropID.
aPropVar
Value of properties in the set. For information about the structure used by aPropVar, see PROPVARIANT.
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.

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

aPropID, aStatus, PROPVARIANT