61{
65
66
70
71
72 if(_string1!=nullptr && _count>0)
73 {
74 *_string1='\0';
75 }
76
77 if ( (_loc_update.GetLocaleT()->locinfo->locale_name[
LC_COLLATE] ==
nullptr) &&
78 (_loc_update.GetLocaleT()->locinfo->lc_collate_cp ==
CP_ACP) )
79 {
81 strncpy(_string1, _string2, _count);
84 }
85
86
88 _loc_update.GetLocaleT(),
89 _loc_update.GetLocaleT()->locinfo->locale_name[
LC_COLLATE],
91 _string2,
92 -1,
93 nullptr,
94 0,
95 _loc_update.GetLocaleT()->locinfo->lc_collate_cp,
97 {
100 }
101
103
104
106 {
107 if (_string1 != nullptr && _count > 0)
108 {
109 *_string1 = '\0';
111 }
112
115 }
116
117
119 _loc_update.GetLocaleT(),
120 _loc_update.GetLocaleT()->locinfo->locale_name[
LC_COLLATE],
122 _string2,
123 -1,
124 _string1,
125 (int)_count,
126 _loc_update.GetLocaleT()->locinfo->lc_collate_cp,
128 {
131 }
132
134
136}
int __cdecl __acrt_LCMapStringA(_locale_t const plocinfo, PCWSTR const LocaleName, DWORD const dwMapFlags, PCCH const lpSrcStr, int const cchSrc, PCH const lpDestStr, int const cchDest, int const code_page, BOOL const bError)
ACPI_SIZE strlen(const char *String)
#define _VALIDATE_RETURN(expr, errorcode, retexpr)
#define _BEGIN_SECURE_CRT_DEPRECATION_DISABLE
#define _END_SECURE_CRT_DEPRECATION_DISABLE