I must be missing something pretty simple here. I have a fully populated LPBITMAPINFOHEADER structure:
LPBITMAPINFOHEADER *ppbi = new LPBITMAPINFOHEADER;
GetVideoFrame(0, 0, ppbi); // gets first frame of first stream (array begins with zero)
This part works. I now need to pass an HBITMAP to another function that will ultimately StretchBlt() it into a surface.
How do I obtain an HBITMAP from this LPBITMAPINFOHEADER?