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.

See Also

MQLocateBegin, MQSORTSET


© 1997 by Microsoft Corporation. All rights reserved.