Redigera

Dela via


FEqualNames

Applies to: Outlook 2013 | Outlook 2016

Determines whether two MAPI named properties are the same.

Property Value
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.