IntlStrEqWorkerA function (shlwapi.h)

Compares a specified number of characters from the beginning of two localized strings.

Syntax

BOOL IntlStrEqWorkerA(
  [in] BOOL   fCaseSens,
  [in] LPCSTR lpString1,
  [in] LPCSTR lpString2,
  [in] int    nChar
);

Parameters

[in] fCaseSens

Type: BOOL

A value that is set to TRUE for a case-sensitive comparison, or to FALSE for a case-insensitive comparison.

[in] lpString1

Type: LPCTSTR

A pointer to a null-terminated string.

[in] lpString2

Type: LPCTSTR

A pointer to a null-terminated string.

[in] nChar

Type: int

The number of characters to be compared, starting from the beginning of the strings.

Return value

Type: BOOL

Returns TRUE if the first nChar characters are identical, or FALSE otherwise.

Remarks

This function retrieves the thread locale and uses CompareString to determine whether the first nChar characters are identical.

Requirements

Requirement Value
Minimum supported client Windows 2000 Professional, Windows XP [desktop apps only]
Minimum supported server Windows 2000 Server [desktop apps only]
Target Platform Windows
Header shlwapi.h
Library Shlwapi.lib
DLL Shlwapi.dll (version 5.0 or later)