IntlStrEqN function
Performs a case-sensitive comparison of a specified number of characters from the beginning of two localized strings.
Syntax
BOOL IntlStrEqN(
_In_ LPCTSTR pszStr1,
_In_ LPCTSTR pszStr2,
_In_ int nChar
);
Parameters
- 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 do a case-sensitive comparison of the first nChar characters. It is equivalent to:
IntlStrEqWorker(TRUE, pszStr1, pszStr2, nChar)
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 |
IntlStrEqNW (Unicode) and IntlStrEqNA (ANSI) |
See also