基于WebView2实现的Win11桌面框架,利用插件自定义
Moli
2026-05-03 9806138b910904d2f982ebf9471b295fb6939715
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);
}