SSizeRestriction

The SSizeRestriction structure describes a size restriction which is used to test the size of a property value.

Quick Info

Header file: MAPIDEFS.H

typedef struct _SSizeRestriction 
{ 
     ULONG relop; 
     ULONG ulPropTag; 
     ULONG cb; 
} SSizeRestriction; 
 

Members

relop
Relational operator used in the size comparison. Possible values are:
RELOP_GE
The comparison is made based on a greater or equal first value.
RELOP_GT
The comparison is made based on a greater first value.
RELOP_LE
The comparison is made based on a lesser or equal first value.
RELOP_LT
The comparison is made based on a lesser first value.
RELOP_NE
The comparison is made based on unequal values.
RELOP_RE
The comparison is made based on LIKE (regular expression) values.
RELOP_EQ
The comparison is made based on equal values.
ulPropTag
Property tag identifying the property to test.
cb
Count of bytes in the property value.

Remarks

For a general discussion of how restrictions work, see About Restrictions.

See Also

Restriction Structures, SRestriction