More corelib cleanup (dotnet/coreclr#26993)
[mono-project.git] / netcore / System.Private.CoreLib / shared / Interop / Windows / Normaliz / Interop.Normalization.cs
blob3e954483d1813622a146b701b0446bb3f7d01bd3
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(
16 int normForm,
17 string source,
18 int sourceLength,
19 [System.Runtime.InteropServices.OutAttribute]
20 char[]? destination,
21 int destinationLength);