how can i directly access the memory of a memory device context so i know which pixels are set?

if i do something like this it generates an error:

invoke CreateCompatibleDC, hDC
mov hMemoryDC, eax

mov eax, hMemoryDC
mov ebx,

or if i can't do that, i just need a way to determine which pixels are set without using GetPixel, its too slow.

thanks
Posted on 2002-03-16 21:38:06 by Spider
Have a look at my LCD program in the masm32 v7 package.

Thomas
Posted on 2002-03-17 03:23:09 by Thomas