diff options
Diffstat (limited to 'src/mscorlib/corefx/Interop/Windows/mincore/Interop.Idna.cs')
-rw-r--r-- | src/mscorlib/corefx/Interop/Windows/mincore/Interop.Idna.cs | 37 |
1 files changed, 0 insertions, 37 deletions
diff --git a/src/mscorlib/corefx/Interop/Windows/mincore/Interop.Idna.cs b/src/mscorlib/corefx/Interop/Windows/mincore/Interop.Idna.cs deleted file mode 100644 index e14f16b048..0000000000 --- a/src/mscorlib/corefx/Interop/Windows/mincore/Interop.Idna.cs +++ /dev/null @@ -1,37 +0,0 @@ -// Licensed to the .NET Foundation under one or more agreements. -// The .NET Foundation licenses this file to you under the MIT license. -// See the LICENSE file in the project root for more information. - -using System; -using System.Runtime.InteropServices; - -internal partial class Interop -{ - internal partial class mincore - { - // - // Idn APIs - // - - [DllImport("api-ms-win-core-localization-l1-2-0.dll", CharSet = CharSet.Unicode, SetLastError = true)] - internal static extern int IdnToAscii( - uint dwFlags, - IntPtr lpUnicodeCharStr, - int cchUnicodeChar, - [System.Runtime.InteropServices.OutAttribute()] - IntPtr lpASCIICharStr, - int cchASCIIChar); - - [DllImport("api-ms-win-core-localization-l1-2-0.dll", CharSet = CharSet.Unicode, SetLastError = true)] - internal static extern int IdnToUnicode( - uint dwFlags, - IntPtr lpASCIICharStr, - int cchASCIIChar, - [System.Runtime.InteropServices.OutAttribute()] - IntPtr lpUnicodeCharStr, - int cchUnicodeChar); - - internal const int IDN_ALLOW_UNASSIGNED = 0x1; - internal const int IDN_USE_STD3_ASCII_RULES = 0x2; - } -} |