MQPROPERTYRESTRICTION

The MQPROPERTYRESTRICTION structure defines a property restriction for a query. The property restriction consists of a comparison operator, a property identifier, and a property value.

typedef struct  tagMQPROPERTYRESTRICTION
{
  ULONG             rel;
  PROPID           prop;
  PROPVARIANT     prval;
} MQPROPERTYRESTRICTION;
 

Members

rel
Comparison operator for this property. Possible values include: less than (PRLT), less than or equal to (PRLE), equal (PREQ), not equal (PRNE), greater than or equal to (PRGE), and greater than (PRGT).
prop
Queue property identifier.
prval
Comparison value (includes variant type and value for the property). For information about the structure used by prval, see PROPVARIANT.

QuickInfo

  Windows NT: Requires version 4.0 SP3 or later.
  Windows: Requires Windows 95 or later.
  Windows CE: Unsupported.
  Header: Declared in mq.h.
  Import Library: Use mqrt.lib.
  Unicode: Defined only as Unicode.

See Also

MQLocateBegin, MQRESTRICTION, PROPVARIANT