d3dx9: Implement GetImageInfoFromResource(A/W) for bitmaps.

Charles Welton charleswfb at gmail.com
Sun Jun 12 23:18:35 CDT 2011


On 06/13/2011 01:03 AM, Vincent Povirk wrote:
> > You should probably call D3DXGetImageInfoFromFileInMemory for the
real work.

That is optimal, except I see no clear way to read the entire resource
file(I'm quite new to winapi developing).

LoadResource does read the file but it doesn't include the header, which
seems necessary for D3DXGetImageInfoFromFileInMemory to properly
recognize the file.

> > On Sun, Jun 12, 2011 at 10:32 PM, Charles Welton
<charleswfb at 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
>> >>
>> >>
>> >>
>> >>
> >
> >

--
Charles Welton



More information about the wine-devel mailing list