.net copy

This commit is contained in:
Vitali Semianiaka
2021-04-14 16:26:56 +03:00
parent 55e354b980
commit 81af2d3c8c
105 changed files with 31645 additions and 0 deletions

View File

@@ -0,0 +1,20 @@
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
}
}