22 lines
619 B
C#
22 lines
619 B
C#
using System;
|
|
using System.Drawing;
|
|
|
|
namespace EveOPreview.Services
|
|
{
|
|
public interface IWindowManager
|
|
{
|
|
bool IsCompositionEnabled { get; }
|
|
|
|
IntPtr GetForegroundWindowHandle();
|
|
|
|
void ActivateWindow(IntPtr handle);
|
|
void MinimizeWindow(IntPtr handle, bool enableAnimation);
|
|
|
|
void MoveWindow(IntPtr handle, int left, int top, int width, int height);
|
|
(int Left, int Top, int Right, int Bottom) GetWindowPosition(IntPtr handle);
|
|
bool IsWindowMinimized(IntPtr handle);
|
|
|
|
IDwmThumbnail GetLiveThumbnail(IntPtr destination, IntPtr source);
|
|
Image GetStaticThumbnail(IntPtr source);
|
|
}
|
|
} |