1 // Licensed to the .NET Foundation under one or more agreements.
2 // The .NET Foundation licenses this file to you under the MIT license.
3 // See the LICENSE file in the project root for more information.
5 using System
.Runtime
.InteropServices
;
7 internal static partial class Interop
9 internal static partial class Kernel32
11 [DllImport(Libraries
.Kernel32
)]
12 internal static extern unsafe int MultiByteToWideChar(
13 uint CodePage
, uint dwFlags
,
14 byte* lpMultiByteStr
, int cbMultiByte
,
15 char* lpWideCharStr
, int cchWideChar
);
17 internal const uint MB_PRECOMPOSED
= 0x00000001;