摘要 |
A method for acquiring graphics device interface data and DirectX data by use of a filter driver transparent to transparent to a graphics device interface engine, DirectX kernel and a real display driver is disclosed, the method comprises steps of: updating the graphics device interface, and acquiring the graphics device interface data by use of a corresponding graphics device interface function in the filter driver; acquiring, for DirectDraw in DirectX, DirectDraw application and video update data by intercepting frame switch and bit block transfer operations of DirectDraw part; acquiring, for Direct3D in DirectX, data of Direct3D application by intercepting the update interface of Direct3D part. With the method of present invention, an integral acquisition of Windows GDI and DirectX data can be achieved while DirectX function remains available.
|