SAndRestriction

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 page may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.

Describes an AND restriction, which is used to join a group of restrictions using a logical AND operation.

Header file:

Mapidefs.h

typedef struct _SAndRestriction
{
  ULONG cRes;
  LPSRestriction lpRes;
} SAndRestriction;

Members

  • cRes
    Count of search restrictions in the array pointed to by the lpRes member.

  • lpRes
    Pointer to an array of SRestriction structures that will be combined with a logical AND operation.

Remarks

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

For a description of types of restrictions, how to build them, and sample code, see About Restrictions.

See Also

Reference

SRestriction

Concepts

MAPI Structures