how to capture game or video

i know the mirror driver can capture the scrren,but can’t capture that use
direct accelerate app,like game.how to solve this problem?thank!

crazyazreal wrote:

i know the mirror driver can capture the scrren,

No. The mirror driver merely gets the same requests that the main
driver gets, so you can construct an image of what the main screen must
look like. It doesn’t actually capture the screen.

but can’t capture that use
direct accelerate app,like game.how to solve this problem?

There is no way, in the general case. This is partly by design; the
screen designs in many games are considered protected intellectual property.

You can get a pointer to the primary surface and copy the bits by hand,
but even that isn’t completely reliable. Remember that, in many cases,
the image you see on the screen does not actually exist anywhere in
memory. With overlays and sophisticated textured surfaces, the image is
built on the fly during screen refresh.


Tim Roberts, xxxxx@probo.com
Providenza & Boekelheide, Inc.

oh…you means can’t capture game on driver layer?
“Tim Roberts” wrote in message news:xxxxx@ntdev…
> crazyazreal wrote:
> > i know the mirror driver can capture the scrren,
>
> No. The mirror driver merely gets the same requests that the main
> driver gets, so you can construct an image of what the main screen must
> look like. It doesn’t actually capture the screen.
>
> > but can’t capture that use
> > direct accelerate app,like game.how to solve this problem?
>
> There is no way, in the general case. This is partly by design; the
> screen designs in many games are considered protected intellectual
property.
>
> You can get a pointer to the primary surface and copy the bits by hand,
> but even that isn’t completely reliable. Remember that, in many cases,
> the image you see on the screen does not actually exist anywhere in
> memory. With overlays and sophisticated textured surfaces, the image is
> built on the fly during screen refresh.
>
> –
> Tim Roberts, xxxxx@probo.com
> Providenza & Boekelheide, Inc.
>
>
>

thank for you answer!!
oh,you means can’t capture game on driver layer?i know the solution which
hook directdraw can solve this problem,but i don’t the effect.anyway,than
you very much!

“crazyazreal” wrote in message news:xxxxx@ntdev…
> i know the mirror driver can capture the scrren,but can’t capture that use
> direct accelerate app,like game.how to solve this problem?thank!
>
>
>

crazyazreal wrote:

oh…you means can’t capture game on driver layer?

Right. This is not a matter of kernel vs user; in fact, most screen
captures are easier from user mode. In this case, however, the things I
mentioned are generic issues.


Tim Roberts, xxxxx@probo.com
Providenza & Boekelheide, Inc.