FEqualNames 

The FEqualNames function determines whether two MAPI name identifiers are equal.

 

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 FEqualNames(

    LPMAPINAMEID lpName1,

 

    LPMAPINAMEID lpName2

 

   );

 

 

Parameters

lpName1

[in] Pointer to a MAPINAMEID21GW98Z structure defining the first name to be tested.

lpName2

[in] Pointer to a MAPINAMEID structure defining the second name to be tested.

 

Return Values

TRUE

The two name identifiers are equal.

FALSE

The two name identifiers are not equal.

 

Remarks

The FEqualNames function is useful because name identifiers are represented as structures, which cannot be compared by simple binary methods. The testing process is case-sensitive for strings.