#include <corecrt_internal.h>
#include <ctype.h>
#include <locale.h>
#include <string.h>
Go to the source code of this file.
◆ _strnicoll()
Definition at line 79 of file strnicol.cpp.
84{
85 if (!__acrt_locale_changed())
86 {
88 }
89 else
90 {
92 }
93}
#define _strnicmp(_String1, _String2, _MaxCount)
GLuint GLuint GLsizei count
int __cdecl _strnicoll_l(const char *_string1, const char *_string2, size_t count, _locale_t plocinfo)
◆ _strnicoll_l()
Definition at line 41 of file strnicol.cpp.
47{
50
52 return 0;
53
54
58
59 if ( _loc_update.GetLocaleT()->locinfo->locale_name[
LC_COLLATE] ==
nullptr )
61
63 _loc_update.GetLocaleT(),
64 _loc_update.GetLocaleT()->locinfo->locale_name[
LC_COLLATE],
66 _string1,
68 _string2,
70 _loc_update.GetLocaleT()->locinfo->lc_collate_cp)) )
71 {
74 }
75
77}
int __cdecl __acrt_CompareStringA(_In_opt_ _locale_t _Plocinfo, _In_ LPCWSTR _LocaleName, _In_ DWORD _DwCmpFlags, _In_CRT_NLS_string_(_CchCount1) PCCH _LpString1, _In_ int _CchCount1, _In_CRT_NLS_string_(_CchCount2) PCCH _LpString2, _In_ int _CchCount2, _In_ int _CodePage)
#define _VALIDATE_RETURN(expr, errorcode, retexpr)
_Check_return_ _CRTIMP int __cdecl _strnicmp_l(_In_reads_or_z_(maxcount) const char *str1, _In_reads_or_z_(maxcount) const char *str2, _In_ size_t maxcount, _In_opt_ _locale_t locale)
Referenced by _strnicoll().