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 Normaliz
11 [DllImport("Normaliz.dll", CharSet
= CharSet
.Unicode
, SetLastError
= true)]
12 internal static extern bool IsNormalizedString(int normForm
, string source
, int length
);
14 [DllImport("Normaliz.dll", CharSet
= CharSet
.Unicode
, SetLastError
= true)]
15 internal static extern int NormalizeString(
19 [System
.Runtime
.InteropServices
.OutAttribute
]
21 int destinationLength
);