浏览文件
GuestWindowCapture.cs
9 行 · 497 B历史下载| 1 | namespace Cage.GuestClipboard; |
| 2 | |
| 3 | // The caller pins one owned HWND/PID and supplies its lifetime validation. |
| 4 | // The shared worker provides only WGC CreateForWindow, never monitor capture. |
| 5 | internal static class GuestWindowCapture |
| 6 | { |
| 7 | internal static Task<byte[]> Capture(IntPtr window, int pid, int width, int height, Action validate, bool allowSolid = false, bool preserveAlpha = false) |
| 8 | => ClaudeGraphicsCapture.Capture(window, pid, width, height, validate, allowSolid, preserveAlpha); |
| 9 | } |

