53 const wchar_t *_string2,
67 if ( _loc_update.GetLocaleT()->locinfo->locale_name[
LC_COLLATE] ==
nullptr )
70 wcsncpy(_string1, _string2, _count);
76 _loc_update.GetLocaleT()->locinfo->locale_name[
LC_COLLATE],
87 if (
size <= (
int)_count)
90 _loc_update.GetLocaleT()->locinfo->locale_name[
LC_COLLATE],
107#pragma warning(suppress:__WARNING_DEREF_NULL_PTR __WARNING_POTENTIAL_BUFFER_OVERFLOW_HIGH_PRIORITY)
108 _string1[_count] = (
wchar_t)((
unsigned char *)_string1)[_count];
114 if (_string1 !=
nullptr && _count > 0)
128 const wchar_t *_string2,
133 return _wcsxfrm_l(_string1, _string2, _count,
nullptr);
int __cdecl __acrt_LCMapStringW(LPCWSTR const locale_name, DWORD const map_flags, LPCWSTR const source, int source_count, LPWSTR const destination, int const destination_count)
#define _VALIDATE_RETURN(expr, errorcode, retexpr)
_CRTIMP size_t __cdecl wcslen(_In_z_ const wchar_t *_Str)
#define _BEGIN_SECURE_CRT_DEPRECATION_DISABLE
#define _END_SECURE_CRT_DEPRECATION_DISABLE
size_t __cdecl _wcsxfrm_l(wchar_t *_string1, const wchar_t *_string2, size_t _count, _locale_t plocinfo)
size_t __cdecl wcsxfrm(wchar_t *_string1, const wchar_t *_string2, size_t _count)