Moved direct WinAPI access into a service
This commit is contained in:
17
Eve-O-Preview/DwmAPI/Interface/IWindowManager.cs
Normal file
17
Eve-O-Preview/DwmAPI/Interface/IWindowManager.cs
Normal file
@@ -0,0 +1,17 @@
|
||||
using System;
|
||||
|
||||
namespace EveOPreview
|
||||
{
|
||||
public interface IWindowManager
|
||||
{
|
||||
bool IsCompositionEnabled { get; }
|
||||
|
||||
IntPtr GetForegroundWindowHandle();
|
||||
|
||||
void ActivateWindow(IntPtr handle);
|
||||
void DeactivateWindow(IntPtr handle);
|
||||
|
||||
void MoveWindow(IntPtr handle, int left, int top, int width, int height);
|
||||
void GetWindowCoordinates(IntPtr handle, out int left, out int top, out int right, out int bottom);
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user