Moved direct WinAPI access into a service
This commit is contained in:
21
Eve-O-Preview/DwmAPI/Interop/RECT.cs
Normal file
21
Eve-O-Preview/DwmAPI/Interop/RECT.cs
Normal file
@@ -0,0 +1,21 @@
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
namespace EveOPreview.DwmInterop
|
||||
{
|
||||
[StructLayout(LayoutKind.Sequential)]
|
||||
struct RECT
|
||||
{
|
||||
public int Left;
|
||||
public int Top;
|
||||
public int Right;
|
||||
public int Bottom;
|
||||
|
||||
public RECT(int left, int top, int right, int bottom)
|
||||
{
|
||||
this.Left = left;
|
||||
this.Top = top;
|
||||
this.Right = right;
|
||||
this.Bottom = bottom;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user