JFK:
I do not believe the VRAM is linearly mapped in your apps address space. The VRAM is only accessible via the video driver and calls made through the video driver and the DMA controller. However, if you create a DIB and Blit to the DC of the DIB, you can directly copy the pixel data via the DIB's pBits pointer using RTLMoveMemory.
My userlib currently only supports 24bit and 32bit RGB DIBs.
I do not believe the VRAM is linearly mapped in your apps address space. The VRAM is only accessible via the video driver and calls made through the video driver and the DMA controller. However, if you create a DIB and Blit to the DC of the DIB, you can directly copy the pixel data via the DIB's pBits pointer using RTLMoveMemory.
My userlib currently only supports 24bit and 32bit RGB DIBs.