#ifndef SCREEN_CAPTURE #define SCREEN_CAPTURE #include #include // we use WIC for saving images #include // DirectX 9 header #include HRESULT Direct3D9TakeScreenshots(UINT adapter, UINT count); class ScreenCapture { public: ScreenCapture(); void EnumScreen(); void PrintDisplayModeInfo(IDirect3D9 *pD3D, D3DFORMAT fmt); private: IDirect3D9* m_d3d9_dev = nullptr; }; #endif // SCREEN_CAPTURE_H