I have done quite a bit of research, to no avail. I need to find out the Windows API for accessing the image that is being displayed on the Windows desktop at any one time. I would like to be able to read/write at the pixel level. (All my Google searches result in links to remote desktop software!)
Asked
Active
Viewed 188 times
-1
-
1http://stackoverflow.com/questions/8414635/how-do-i-change-the-wallpaper-programatically?rq=1 Maybe you can access the wallpaper, change it the way you want and set the changed image as new wallpaper – xmashallax Jul 24 '13 at 17:00
-
I have stated in my question that I did do substantial research. Why the downvote? – Sabuncu Jul 24 '13 at 18:49
-
To the person who is responsible for the downvote: please read this guidance relating to downvotes at the Meta SO site: http://meta.stackexchange.com/questions/135/encouraging-people-to-explain-downvotes. – Sabuncu Jul 24 '13 at 19:08
1 Answers
2
You can do GetDC(NULL);
to get the device context for the screen. With this you can use CreateCompatibleDC
to get your own copy and CreateCompatibleBitmap
Then use SelectObject
and BitBlit
to copy the Bitmap to your local Bitmap where you can manipulate it.

Devolus
- 21,661
- 13
- 66
- 113