Take screenshot of DirectX full-screen application

后端 未结 7 1364
傲寒
傲寒 2020-11-28 06:09

This boggles me. DirectX bypasses everything and talks directly to the device driver, thus GDI and other usual methods won\'t work - unless Aero is disabled (or unavailable

7条回答
  •  盖世英雄少女心
    2020-11-28 06:56

    Have a look at Detours.

    Using Detours, you can instrument calls like Direct3DCreate9, IDirect3D9::CreateDevice and IDirect3D9::Present in which you perform the operations necessary to setup and then do a frame capture.

提交回复
热议问题