Vincent Povirk : windowscodecs: Implement IWICImagingFactory_CreateFormatConverter.

Alexandre Julliard julliard at winehq.org
Tue Apr 27 16:59:33 CDT 2010


Module: wine
Branch: master
Commit: 83f32fc7d8f6ba709884bfb2214f862dae1420ab
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=83f32fc7d8f6ba709884bfb2214f862dae1420ab

Author: Vincent Povirk <vincent at codeweavers.com>
Date:   Tue Apr 27 10:46:53 2010 -0500

windowscodecs: Implement IWICImagingFactory_CreateFormatConverter.

---

 dlls/windowscodecs/imgfactory.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/dlls/windowscodecs/imgfactory.c b/dlls/windowscodecs/imgfactory.c
index e3dcca0..3f51493 100644
--- a/dlls/windowscodecs/imgfactory.c
+++ b/dlls/windowscodecs/imgfactory.c
@@ -247,8 +247,7 @@ static HRESULT WINAPI ImagingFactory_CreatePalette(IWICImagingFactory *iface,
 static HRESULT WINAPI ImagingFactory_CreateFormatConverter(IWICImagingFactory *iface,
     IWICFormatConverter **ppIFormatConverter)
 {
-    FIXME("(%p,%p): stub\n", iface, ppIFormatConverter);
-    return E_NOTIMPL;
+    return FormatConverter_CreateInstance(NULL, &IID_IWICFormatConverter, (void**)ppIFormatConverter);
 }
 
 static HRESULT WINAPI ImagingFactory_CreateBitmapScaler(IWICImagingFactory *iface,




More information about the wine-cvs mailing list