mirror of
https://github.com/VitalickS/BrightSharp.Toolkit.git
synced 2026-03-21 10:21:16 +00:00
21 lines
515 B
C#
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
|
|
|
|
}
|
|
}
|