[PATCH 3/6] d3dx9_36: Implement D3DXGetImageInfoFromFileInMemory using WindowsCodecs (based on work from Tony Wasserka) (try 2)
Vincent Povirk
madewokherd+8cd9 at gmail.com
Mon Apr 5 14:00:22 CDT 2010
+ hr = CoInitializeEx(NULL, COINIT_APARTMENTTHREADED);
+ if (FAILED(hr))
+ return E_FAIL;
You should continue in this case, but don't call CoUninitialize at the end.
On Mon, Apr 5, 2010 at 1:28 PM, Christian Costa <titan.costa at wanadoo.fr> wrote:
> --
> Check return of CoInitializeEx and some WIC calls. Return an error for unsupported file and pixel formats.
> ---
>
> dlls/d3dx9_36/Makefile.in | 2 -
> dlls/d3dx9_36/surface.c | 113 ++++++++++++++++++++++++++++++++++++++++-
> dlls/d3dx9_36/tests/texture.c | 40 ++++++---------
> 3 files changed, 127 insertions(+), 28 deletions(-)
>
>
>
>
More information about the wine-devel
mailing list