using System.Windows; using Moli.Desktop.Configuration; 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, byte opacity); void MoveToDesktopLayer(IntPtr hwnd, DesktopLayerMode mode, MonitorInfo monitor); void SetBottomMost(IntPtr hwnd); IReadOnlyList GetMonitors(); }