Partager via


MQRESTRICTION

 

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 MQRESTRICTION structure indicates the properties used to locate queues in a query. Only those public queues that match all the restrictions specified here are returned by the query.

For information on starting the query, see MQLocateBegin.

typedef struct tagMQRESTRICTION  
{  
  ULONG cRes;  
  MQPROPERTYRESTRICTION _RPC_FAR * paPropRes;  
  
} MQRESTRICTION;  

Members

cRes

Number of property restrictions to use in the query.

paPropRes

Array of property restrictions. To specify a property restriction, see MQPROPERTYRESTRICTION.

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
MQPROPERTYRESTRICTION