HDC hWindowDC = ::GetDC(hWnd);
(?) COLORREF GetPixel( HDC hWindowDC, int x, int y );
this is how I get a screenshot into a DC then I access it with getpixel
I have problem with the (?) part. i don't know what type of variable should be used there.
how do I save screen shot in this context?
I sometimes need to see what's in the dc visually.