IntlStrEqWorker function
Compares a specified number of characters from the beginning of two localized strings.
Syntax
BOOL IntlStrEqWorker(
_In_ BOOL fCaseSens,
_In_ LPCTSTR pszStr1,
_In_ LPCTSTR pszStr2,
_In_ int nChar
);
Parameters
- fCaseSens [in]
-
Type: BOOL
A value that is set to TRUE for a case-sensitive comparison, or to FALSE for a case-insensitive comparison.
- pszStr1 [in]
-
Type: LPCTSTR
A pointer to a null-terminated string.
- pszStr2 [in]
-
Type: LPCTSTR
A pointer to a null-terminated string.
- nChar [in]
-
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
|
Minimum supported client |
Windows 2000 Professional, Windows XP [desktop apps only] |
|---|---|
|
Minimum supported server |
Windows 2000 Server [desktop apps only] |
|
Header |
|
|
Library |
|
|
DLL |
|
|
Unicode and ANSI names |
IntlStrEqWorkerW (Unicode) and IntlStrEqWorkerA (ANSI) |