2.2.12 MQRESTRICTION

The MQRESTRICTION structure specifies a set of MQPROPERTYRESTRICTION structures. This structure is used in directory query operations to define a set of constraints over the set of directory objects to be returned. An object is deemed to satisfy the constraint if all the binary expressions specified by the MQPROPERTYRESTRICTION array evaluate to TRUE, and is deemed not to satisfy the constraint otherwise. See section 3.1.4.17.

 typedef struct tagMQRESTRICTION {
   [range(0,128)] unsigned long cRes;
   [size_is(cRes)] MQPROPERTYRESTRICTION* paPropRes;
 } MQRESTRICTION;

cRes: MUST be set to the count of MQPROPERTYRESTRICTION structures in the paPropRes array.

paPropRes: A pointer to an array of MQPROPERTYRESTRICTION structures.