2.2.2.20 RELOPS

The RELOPS enumeration defines values for the MSMQQuery::LookupQueue and MSMQQuery::LookupQueue_v2 methods. The values in this enumeration represent comparison operators that are used together with the query parameters that are passed to MSMQQuery::LookupQueue.

 typedef enum 
 {
   REL_NOP = 0,
   REL_EQ,
   REL_NEQ,
   REL_LT,
   REL_GT,
   REL_LE,
   REL_GE
 } RELOPS;

Used by:

  • IMSMQQuery::LookupQueue

  • IMSMQQuery::LookupQueue_v2

The RELOPS enumeration values, except for REL_NOP, correspond to the operators for the attribute-filter expressions defined in [MS-MQDMPR] section 3.1.7.1.20, as shown in the following table:

RELOPS

Operator

REL_EQ

EQUALS

REL_NEQ

NOT-EQUALS

REL_LT

LESS-THAN

REL_GT

GREATER-THAN

REL_LE

LESS-THAN-OR-EQUAL

REL_GE

GREATER-THAN-OR-EQUAL