|
CompareStringA
(LCID, dwCmpFlags, lpString1, cchCount1, lpString2, cchCount2)
LCID LCID
DWORD dwCmpFlags
LPCSTR lpString1
int cchCount1
LPCSTR lpString2
int cchCount2
Compares two character strings of the same locale according to the supplied
LCID.
Parameters
LCID
Locale context for the comparison. The strings are assumed to be represented
in the default ANSI code page for this locale.
dwCmpFlags
Flags that indicate the character traits to use or ignore when comparing the
two strings. Several flags can be combined (in the case of this function, there
are no illegal combinations of flags), or none can be used at all. Compare
flags include the following.
Value
| Meaning
| NORM_IGNORECASE
| Ignore case; default is OFF.
| NORM_IGNOREKANATYPE
| Ignore Japanese hiragana/katakana character differences; default is OFF.
| NORM_IGNORENONSPACE
| Ignore nonspacing marks (accents, diacritics and vowel marks); default is OFF.
| NORM_IGNORESYMBOLS
| Ignore symbols; default is OFF.
| NORM_IGNOREWIDTH
| Ignore character width, default is OFF.
|
lpString1 and lpString2
The two strings to be compared.
cchCount1 and cchCount2
The character counts of the two strings. The count does not include the null-terminator (if any). If either cchCount1 or cchCount2 is 1, the corresponding string is assumed to be null-terminated and the length
will be calculated automatically.
Related LinksSoftware for Delphi and C++ Builder developers Software for Visual Studio .NET developers Software for Visual Basic 6 developers Delphi Tips&Tricks MegaDetailed.NET More Online Helps Win32 Programmer's Reference (win32.hlp) Win32 Multimedia Programmer's Reference (mmedia.hlp) Microsoft Windows Pen API Programmer's Reference (penapi.hlp) Microsoft Windows Sockets 2 Reference (sock2.hlp) Microsoft Windows Telephony API (TAPI) Programmer's Reference (sock2.hlp) Unix Manual Pages
|