2.2.14 MQSORTKEY
The MQSORTKEY structure specifies a sort key and sort order. This structure is used in directory query operations to identify an MSMQ object property to be used as a sort key by which to sort the result set, and to define the sort order for that key.
-
typedef struct tagMQSORTKEY { unsigned long propColumn; unsigned long dwOrder; } MQSORTKEY;
propColumn: The property identifier to be used as the sort key. MUST be one of the values specified in the object property identifier table in section 2.2.10.1.
dwOrder: A symbolic constant specifying whether the sort is to be done in ascending or descending order. MUST be set to one of the following values.
Value |
Meaning |
---|---|
QUERY_SORTASCEND 0x00000000 |
Ascending sort. |
QUERY_SORTDESCEND 0x00000001 |
Descending sort. |