You should probably call D3DXGetImageInfoFromFileInMemory for the real work.
On Sun, Jun 12, 2011 at 10:32 PM, Charles Welton charleswfb@gmail.com wrote:
The code works except it doesn't try to detect the bitmap format. Kindly ask for review and how to properly implement this. Should GetDIBits be used?
-- Charles Welton