2.2.5.7 Restriction_r Restriction

The Restriction_r structure is an encoding of the Restriction filters, as specified in [MS-OXCDATA] section 2.12.

The permissible number of Restriction structures encoded in AndRestriction_r and OrRestriction_r data structures recursively included in the Restriction_r data type exceeds that of the AndRestriction_r and OrRestriction_r data structures recursively included in the Restriction filters. The semantic meaning is otherwise unchanged from the Restriction filters.

 typedef struct _Restriction_r {
   DWORD rt;
   [switch_is((long)rt)] RestrictionUnion_r res;
 } Restriction_r;
  

rt:  Encodes the RestrictType field common to all restriction structures.

res:  Encodes the actual restriction specified by the type in the rt field.