how to draw in opengl frame on device context whitout using opengl routine ?

I find a way for draw on opengl frame,
witch my routine

ex: putpixel(frame, cx, cy, color)

whitout using opengl routine.

or know the device context structure in memory.

Sorry for my bad english.

And?

NewROmacer

This is why you use a driver, to solve the problem with chip-specific instructions required to place a pixel on the screen. And the framebuffer resides in the videomemory, and you are generally not allowed to poke there.

But of course, you can always look into your drivers and see how they do it (IF you fint it), but then the code will be chip-specific and not being able to run on other chips.