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 SBitMaskRestrictionstructure describes a bitmask restriction, which is used to perform a bitwise ANDoperation and test the result.

Syntax

struct { 
  ULONG 
relBMR; 
  PT_LONG 
ulPropTag; 
  ULONG 
ulMask; 
} SBitMaskRestriction; 

Members

relBMR

Relational operator describing how the mask specified in ulMaskshould be applied to the property tag. Possible values are as follows:

BMR_EQZ

Perform a bitwise ANDoperation of the mask in ulMaskwith the property represented by ulPropTagand test for being equal to zero.

BMR_NEZ

Perform a bitwise ANDoperation of the mask in ulMaskwith the property represented by ulPropTagand test for being not equal to zero.

ulPropTag

Property tag of the property to which the bitmask is applied.

ulMask

Bitmask to apply to the property identified by ulPropTag.

Remarks

The SBitMaskRestrictionstructure performs a bitwise ANDoperation using the bitmask described in the ulMaskmember and the value of the property described by the ulPropTagmember. If the result is zero, BMR_EQZis satisfied. If the property value has at least one of the same bits set as ulMask, BMR_NEZis satisfied.

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