Getting screen pixels

Started by
2 comments, last by ManaStone 17 years, 6 months ago
Does anyone know how I can get the frame buffer for the entire screen and not just a particular window using C++ and Win32? Information on how to do this would help me out a lot.
-----------------------------Download my real time 3D RPG.
Advertisement
http://visl.technion.ac.il/projects/2000s11/documents/src/clients/copy.c

the function CopyScreenToBitmap() might be what you need, haven't tested it, just what google found.
---"While there is a lower class I am in it; while there is a criminal element I am of it; while there is a soul in prison, I am not free" - Eugene V. Debs---
HDC screen = CreateDC("DISPLAY", 0, 0, 0);
Thanks
-----------------------------Download my real time 3D RPG.

This topic is closed to new replies.

Advertisement