Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有一个使用 DXGI 的桌面捕获工作版本。有没有办法使用同一个管理器捕获一个单独的窗口(HWND)?
DXGI 桌面复制 API 为您提供桌面部分的捕获。没有捕获特定窗口的选项,但是您拥有所有坐标,因此您可以自己提取窗口特定区域(当然,如果它们没有被遮挡;如果它们没有被包含在桌面合成中排在第一位)。