基于WebView2实现的Win11桌面框架,利用插件自定义
Moli
2026-05-04 b3bde921167ee0a7dc21cf7e3d642840a0fcc11e
1
2
3
4
5
6
7
8
9
10
11
using Moli.Desktop.Layout;
 
namespace Moli.Desktop.Interop;
 
/// <summary>Places a rendered surface into a desktop-compatible layer.</summary>
public interface IDesktopLayerStrategy
{
    string Name { get; }
    bool IsSupported();
    bool TryAttachDesktopWindow(IntPtr hwnd, RectD bounds, out string? error);
}