SBitMaskRestriction
The SBitMaskRestriction
structure describes a bitmask restriction, which is used to apply a bitmask to
a particular property value and test the result.
Quick Info
Header
file: |
MAPIDEFS.H |
typedef struct _SBitMaskRestriction
{
ULONG
relBMR;
PT_LONG
ulPropTag;
ULONG
ulMask;
} SBitMaskRestriction;
Members
relBMR
Relational
operator describing how the mask specified in the ulMask member should
be applied to the property tag. Possible values are:
BMR_EQZ
The result of
applying the bitmask to the property should be tested for being equal to zero.
BMR_NEZ
The result of
applying the bitmask to the property should be tested for not being equal to
zero.
ulPropTag
Indicates the
property tag of the property to which the bitmask is applied.
ulMask
Indicates the
bitmask to apply to the property identified by ulPropTag.
Remarks
This
restriction performs a logical AND operation using the bitmask described
in the ulMask member and the value of the property described by the ulPropTag
member. If the result is zero, then BMR_EQZ is satisfied. If it s nonzero that is, if the property value has at least one of the same bits set
as ulMask then
BMR_NEZ is satisfied.
See Also