You could push the BMP out with SelectObject() then using GetDIBits() you could get the image. Then all you would have to do is create a header (I forget the function) for the BMP and save it and the bits to a file.