
How can i create a device independent bitmap from a rgb buffer
Hi guys,
I am trying to create a (device independent) bitmap from rgb buffer in
24bits/pixel format. I tried CreateDIBSection but it creates the bitmap with
bit values as 0s. I can write the rgb data to a file in bmp format ( 24bpp)
and use SHLoadDIBitmap and it works. So how can i create the bitmap from the
buffer?
Thanks,
Krishna