Skip to content

Latest commit

 

History

History
95 lines (70 loc) · 2.78 KB

nf-shlwapi-intlstreqniw.md

File metadata and controls

95 lines (70 loc) · 2.78 KB
UID title description helpviewer_keywords old-location tech.root ms.assetid ms.date ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames req.redist ms.custom f1_keywords dev_langs topic_type api_type api_location api_name
NF:shlwapi.IntlStrEqNIW
IntlStrEqNIW macro (shlwapi.h)
Performs a case-insensitive comparison of a specified number of characters from the beginning of two localized strings. (Unicode)
IntlStrEqNI
IntlStrEqNI function [Windows Shell]
IntlStrEqNIW
_win32_IntlStrEqNI
shell.IntlStrEqNI
shlwapi/IntlStrEqNI
shlwapi/IntlStrEqNIW
shell\IntlStrEqNI.htm
shell
3d201726-b24a-4739-84fb-49b54d3f0f07
12/05/2018
IntlStrEqNI, IntlStrEqNI function [Windows Shell], IntlStrEqNIA, IntlStrEqNIW, _win32_IntlStrEqNI, shell.IntlStrEqNI, shlwapi/IntlStrEqNI, shlwapi/IntlStrEqNIA, shlwapi/IntlStrEqNIW
shlwapi.h
Windows
Windows 2000 Professional, Windows XP [desktop apps only]
Windows 2000 Server [desktop apps only]
IntlStrEqNIW (Unicode) and IntlStrEqNIA (ANSI)
Shlwapi.lib
Shlwapi.dll (version 5.0 or later)
Windows
19H1
IntlStrEqNIW
shlwapi/IntlStrEqNIW
c++
APIRef
kbSyntax
DllExport
Shlwapi.dll
IntlStrEqNI
IntlStrEqNIA
IntlStrEqNIW

IntlStrEqNIW macro

-description

Performs a case-insensitive comparison of a specified number of characters from the beginning of two localized strings.

-parameters

-param s1 [in]

Type: LPCTSTR

A pointer to a null-terminated string.

-param s2 [in]

Type: LPCTSTR

A pointer to a null-terminated string.

-param nChar [in]

Type: int

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

-remarks

This function retrieves the thread locale and uses CompareString to do a case-insensitive comparison of the first nChar characters. It is equivalent to:

IntlStrEqWorker(FALSE, pszStr1, pszStr2, nChar)

Note

The shlwapi.h header defines IntlStrEqNI as an alias which automatically selects the ANSI or Unicode version of this function based on the definition of the UNICODE preprocessor constant. Mixing usage of the encoding-neutral alias with code that not encoding-neutral can lead to mismatches that result in compilation or runtime errors. For more information, see Conventions for Function Prototypes.

-see-also

IntlStrEqWorker