Compartir a través de


MQSORTSET

 

Applies To: Windows 10, Windows 7, Windows 8, Windows 8.1, Windows Server 2008, Windows Server 2008 R2, Windows Server 2012, Windows Server 2012 R2, Windows Server Technical Preview, Windows Vista

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

Message Queuing Structures
MQLocateBegin
MQSORTKEY