From 4df6165fa93c7caeea86385312415e312de4d11f Mon Sep 17 00:00:00 2001
From: Moli <13026959681@163.com>
Date: 星期二, 05 五月 2026 01:10:39 +0800
Subject: [PATCH] 暂存
---
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