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 SAndRestrictionstructure describes an ANDrestriction, which is used to join a group of restrictions using a logical ANDoperation.

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 SRestrictionstructures to be combined with a logical ANDoperation.

Remarks

The result of the SAndRestrictionis TRUEif all of its child restrictions evaluate to TRUE, and FALSEif 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