Click here to Skip to main content
15,744,010 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi frineds,
I have used WDK(7600.16385.1) mirror driver but i.e. only shows a simple blank window but I wanted to copy complete desktop into that window. I tried some experiments but could not get success. I saw in kernel mode driver drvCopyBits()/DrvBitBlt() are not copying data from source surface to destination surface. Is this the reason why window is showing blank?

I am very new to mirror driver so any help or any pointer will help me a lot.

If you have any sample code which will copy active desktop into a new window/file, please let me know?


1 solution

Friends, I have heard that this community is very active, Please help me out.

Currently I am trying to implement DrvTransparentBlt(). I have read, purpose of this function is to copy data from device controlled surface to GDI surface and vice versa. But I have no clue how to implement it. Any sample code will also help me to understand what all calculation I need to do inside this function.

My main intension is to grab the display/any activity at user level and send it to driver through GDI calls.

Any source of information will help me a lot.

Looking forward to your response.
Share this answer

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900