基于WebView2实现的Win11桌面框架,利用插件自定义
T09
Moli
2026-05-02 da7db0dbceed332b194ef105b8a6fd27440ae15c
1
2
3
4
5
6
7
8
9
10
11
using Moli.Desktop.Configuration;
 
namespace Moli.Desktop.Interop;
 
/// <summary>Places a wallpaper window into a desktop-compatible layer.</summary>
public interface IDesktopLayerStrategy
{
    string Name { get; }
    bool IsSupported();
    bool TryAttachWallpaperWindow(IntPtr hwnd, MonitorInfo monitor, out string? error);
}