MNLS_lstrcmpW

Applies to: Outlook 2013 | Outlook 2016

Compares two Unicode strings.

int MNLS_lstrcmpW(
  LPCWSTR lpString1,
  LPCWSTR lpString2);

Parameters

lpString1

[in] Pointer to the first Unicode string to compare.

lpString2

[in] Pointer to the second Unicode string to compare.

Return value

Returns the values described for an equivalent call to MNLS_CompareStringW except for CSTR_EQUAL.

Remarks

MNLS_lstrcmpW performs a comparison by calling MNLS_CompareStringW with a locale of GetUserDefaultLCID, 0 for flags, and -1 for cch1 and cch2.

See also

GetUserDefaultLCID