More corelib cleanup (dotnet/coreclr#26993)
[mono-project.git] / netcore / System.Private.CoreLib / shared / Interop / Windows / Kernel32 / Interop.SetThreadErrorMode.cs
blob14bc785f117265d49e62d645d5677bfbe15d2eeb
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, SetLastError = true, ExactSpelling = true)]
12 internal static extern bool SetThreadErrorMode(uint dwNewMode, out uint lpOldMode);
14 internal const uint SEM_FAILCRITICALERRORS = 1;