I think the title is very much explanatory but here's a bit more detail what I'm trying to do. Basically say I have a BITMAP loaded in Memory.
I would like to extract the BITMAPINFOHEADER from it and add it to my packet structure which will be transferred over a socket.*
Transferring it is not a problem, but once it arrives I'd like to turn it back into a BITMAP so that I can work with it.
I've been struggling with this and I've searched high and low without any luck. An example and a list of functions I will need to accomplish this would be helpful.
Many thanks. I need this in win32 c++. [no .NET or MFC] Appreciated.