FPropCompareProp 

The FPropCompareProp function compares two properties using a binary relational operator.

 

Note  This function may not be supported in future versions of MAPI.

 

Quick Info

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 SPropValue81C9._8 structure defining the first property for comparison.

ulRelOp

[in] The relational operator to use in the comparison.

lpSPropValue2

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

 

Return Values

TRUE

The function has succeeded in comparing the input properties.

FALSE

The function has not succeeded in comparing the input properties.

 

Remarks

The order of comparison is lpSPropValue1, ulRelOp, lpSPropValue2. If the property types of the properties compared do not match, the FPropCompareProp function determines that they are not equal but that they are otherwise incomparable.

The comparison method depends on the property types included with the SPropValue property definitions and a fuzzy level heuristic also provided by the calling implementation. The FPropContainsProp functionCOQP_P can be used to prepare restrictions for generating a table.