Windows Dev Center

MQSORTSET

The MQSORTSET structure specifies the sort keys for a query.

typedef struct tagMQSORTSET
{
  ULONG cCol;
  MQSORTKEY _RPC_FAR * aCol;
} MQSORTSET;

Members

cCol

Number of sort keys used to sort the results of the query. This member must be set to 1.

aCol

An array of MQSORTKEY structures that describe the sort keys. Each sort key specifies a queue property and sort order (ascending or descending).

Remarks

The MQSORTSET structure is specified in the pSort parameter of the MQLocateBegin function. Currently Message Queuing supports only one sort key per query.

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:
© 2015 Microsoft