Files
BrightSharp.Toolkit/BrightSharp.NET/Interop/NativeMethods.cs
Vitali Semianiaka 81af2d3c8c .net copy
2021-04-14 16:26:56 +03:00

21 lines
515 B
C#

using BrightSharp.Interop.Structures;
using System;
using System.Runtime.InteropServices;
namespace BrightSharp.Interop
{
internal static class NativeMethods
{
#region Monitor
[DllImport("user32.dll", SetLastError = true)]
internal static extern bool GetMonitorInfo(IntPtr hMonitor, MONITORINFO lpmi);
[DllImport("user32.dll", SetLastError = true)]
internal static extern IntPtr MonitorFromWindow(IntPtr handle, int flags);
#endregion
}
}