Share via


FEqualNames

Applies to: Office 2010 | Outlook 2010 | Visual Studio

Determines whether two MAPI named properties are the same.

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 MAPINAMEID structure describing the first named property.

  • lpName2
    [in] Pointer to a MAPINAMEID structure describing the second named property.

Return Value

  • TRUE
    The two property names are equal.

  • FALSE
    The two property names are not equal.

Remarks

The FEqualNames function is useful because the MAPINAMEID structure contains a GUID and can represent the property name itself in more than one way. This means the two structures cannot be compared by simple binary methods.

The testing process is case-sensitive for the property name strings.