MQSORTKEY

The MQSORTKEY structure specifies a sort key for the query. Each key contains a queue property and sort order.

To specify multiple sort keys, see MQSORTSET.

typedef struct tagMQSORTKEY
{
    PROPID  propColumn;
    ULONG   dwOrder;
}   MQSORTKEY;
 

Members

propColumn
Queue property to sort on (for example, PROPID_Q_QUOTA).
dwOrder
Order of sort. Possible values are QUERY_SORTASCEND and QUERY_SORTDESCEND.

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

MQLocateBegin, MQSORTSET