Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

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

Shlwapi.h

Library

Shlwapi.lib

DLL

Shlwapi.dll (version 5.0 or later)

Unicode and ANSI names

IntlStrEqNW (Unicode) and IntlStrEqNA (ANSI)

See also

IntlStrEqWorker

 

 

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.