using System.Windows; using Moli.Desktop.Configuration; using Moli.Desktop.Layout; namespace Moli.Desktop.Interop; /// Facade over Win32 window behavior used by desktop surfaces. public interface IWin32InteropService { IntPtr GetWindowHandle(Window window); void SetClickThrough(IntPtr hwnd, bool enabled); void SetToolWindow(IntPtr hwnd, bool enabled); void SetNoActivate(IntPtr hwnd, bool enabled); void SetLayered(IntPtr hwnd, bool enabled); void MoveToDesktopLayer(IntPtr hwnd, DesktopLayerMode mode, MonitorInfo monitor, RectD bounds); void RestoreTopLevelWindow(IntPtr hwnd); void SetBottomMost(IntPtr hwnd); IReadOnlyList GetMonitors(); }