1 // 2 // MultiByteToWideChar.c 3 // 4 // Copyright (c) 2024 Timo Kreuzer 5 // 6 // Definition of __acrt_MultiByteToWideChar. 7 // 8 // SPDX-License-Identifier: MIT 9 // 10 11 #include <windows.h> 12 //#include <stringapiset.h> 13 14 _Success_(return != 0) 15 int 16 __cdecl 17 __acrt_MultiByteToWideChar ( 18 _In_ UINT _CodePage, 19 _In_ DWORD _DWFlags, 20 _In_ LPCSTR _LpMultiByteStr, 21 _In_ int _CbMultiByte, 22 _Out_writes_opt_(_CchWideChar) LPWSTR _LpWideCharStr, 23 _In_ int _CchWideChar) 24 { 25 return MultiByteToWideChar(_CodePage, 26 _DWFlags, 27 _LpMultiByteStr, 28 _CbMultiByte, 29 _LpWideCharStr, 30 _CchWideChar); 31 } 32