Share via


MNLS_lstrcmpW

Applies to: Office 2010 | Outlook 2010 | Visual Studio

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

Other Resources

GetUserDefaultLCID