Partager via


FEqualNames

This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This page may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.

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.