From cf40cded1708bb303be4a404b7aceddd196e1d46 Mon Sep 17 00:00:00 2001
From: Moli <13026959681@163.com>
Date: 星期三, 29 七月 2026 20:58:14 +0800
Subject: [PATCH] v1.0
---
src/Moli.Desktop/Interop/IWin32InteropService.cs | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/src/Moli.Desktop/Interop/IWin32InteropService.cs b/src/Moli.Desktop/Interop/IWin32InteropService.cs
index 3660f32..dc60356 100644
--- a/src/Moli.Desktop/Interop/IWin32InteropService.cs
+++ b/src/Moli.Desktop/Interop/IWin32InteropService.cs
@@ -1,5 +1,6 @@
using System.Windows;
using Moli.Desktop.Configuration;
+using Moli.Desktop.Layout;
namespace Moli.Desktop.Interop;
@@ -12,6 +13,8 @@
void SetNoActivate(IntPtr hwnd, bool enabled);
void SetLayered(IntPtr hwnd, bool enabled, byte opacity);
void MoveToDesktopLayer(IntPtr hwnd, DesktopLayerMode mode, MonitorInfo monitor);
+ void MoveToDesktopLayer(IntPtr hwnd, DesktopLayerMode mode, RectD bounds);
+ void RestoreTopLevelWindow(IntPtr hwnd);
void SetBottomMost(IntPtr hwnd);
IReadOnlyList<MonitorInfo> GetMonitors();
}
--
Gitblit v1.9.1