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中使用windows screen capture API编写了一个屏幕截图程序。它工作正常。但是在某些情况下(例如当我拖动一个窗口来移动它时),结果包含一个光标形状。
]
这不是我所期望的。有谁知道我该怎么做才能摆脱它。
据我所知,没有办法在 DXGI 中防止这种情况发生。您的图形适配器将决定是单独绘制光标(您必须自己绘制)还是直接绘制到屏幕图像中。
所以基本上你的选择是: