Two window surface devices

Using a Simple Directmedia Library we can have a SDL_Surface struct

I have used to have two SDL_Surface structures:
1 is my "picture of the screen"
2 is my window client area.

I used to draw on first of them, and then update screen using my "image".

How do I can do this on Windows using Windows API, when I created CompatibleDC and tried to draw on it, and then copy it to the screen it did not worked.
Topic archived. No new replies allowed.