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