>I get bits data and image info
The easiest way is to use the StretchDIBits() API call, which doesn't require an HBITMAP and will simply take your
header and bytes directly then draw them to a DC. Alternatively if you want the HBITMAP for further work then use the
CreateDIBSection() API to create a GDI DIBSection object from header, then RtlMoveMemory() the image data into it.
Hope this helps,
- Microsoft Visual Basic MVP -