Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.
4/8/2010

The SSizeRestrictionstructure describes a size restriction, which is used to test the size of a property value.

Syntax

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

Members

relop

Relational operator used in the size comparison. Possible values are as follows:

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.

Requirements

Header mapidefs.h
Windows Embedded CE Windows CE 3.0 and later
Windows Mobile Pocket PC 2002 and later, Smartphone 2002 and later

See Also

Reference

MAPI Structures
SRestriction

Other Resources

Messaging