Export (0) Print
Expand All
Expand Minimize
This topic has not yet been rated - Rate this topic

FPropCompareProp

Compares two property values using a specified relational operator.

Header file:

Mapiutil.h

Implemented by:

MAPI

Called by:

Client applications and service providers

BOOL FPropCompareProp(
  LPSPropValue lpSPropValue1,
  ULONG ulRelOp,
  LPSPropValue lpSPropValue2
);

Parameters

lpSPropValue1

[in] Pointer to an SPropValue structure defining the first property value for comparison.

ulRelOp

[in] The relational operator to use in the comparison. For allowable values, see the SComparePropsRestriction structure.

lpSPropValue2

[in] Pointer to an SPropValue structure defining the second property value for comparison.

TRUE

The property values satisfy the specified relation.

FALSE

The property values do not satisfy the specified relation.

The comparison method depends on the property types specified in the SPropValue property definitions. The FPropCompareProp and FPropContainsProp functions can be used to prepare restrictions for generating a table.

The order of comparison is lpSPropValue1, ulRelOp, lpSPropValue2. If the property types of the property values to be compared do not match, the FPropCompareProp function returns FALSE.

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.