Original Post
Darn, I was googling for hours and I can''t find info on this. Do you know how to lock a bitmap HDC and write the colors directly on memory?
I need to draw the faster i can with the windows GDI, and I guess that calling the API drawing functions 100 times per frame is very much slower than ploting all the pixels at once.
I tried LocalLock and GlobalLock but they always retun NULL.