Share via


SAndRestriction

4/8/2010

The SAndRestriction structure describes an AND restriction, which is used to join a group of restrictions using a logical AND operation.

Syntax

struct { 
  ULONG cRes; 
  LPSRestriction lpRes; 
} SAndRestriction; 

Members

  • cRes
    Count of search restrictions in the array pointed to by lpRes.
  • lpRes
    Pointer to an array of SRestriction structures to be combined with a logical AND operation.

Remarks

The result of the SAndRestriction is TRUE if all of its child restrictions evaluate to TRUE, and FALSE if any child restriction evaluates to FALSE.

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