MQSORTKEY

The MQSORTKEY structure specifies a sort key for the query. Each key contains a queue property and a sort order. For detailed information about the properties that can be included in this structure, see Queue Properties.

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

Members

propColumn

Queue property name to sort on (for example, PROPID_Q_QUOTA).

dwOrder

Sort order. Possible values are QUERY_SORTASCEND and QUERY_SORTDESCEND.

Remarks

An array of MQSORTKEY structures is specified in the aCol member of the MQSORTSET structure. Currently Message Queuing supports only one sort key.

For information on locating public queues in the directory service, see Locating Queues.

Requirements

Windows NT/2000/XP: Included in Windows NT 4.0 SP3 and later.

Windows 95/98/Me: Included in Windows 95 and later.

Header: Declared in Mq.h.

See Also

Show:
© 2014 Microsoft