Vincent Povirk : windowscodecs: Implement IWICBitmapDecoderInfo:: GetComponentType.

Alexandre Julliard julliard at winehq.org
Wed Aug 5 09:48:10 CDT 2009


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

Author: Vincent Povirk <vincent at codeweavers.com>
Date:   Tue Jul 28 15:04:46 2009 -0500

windowscodecs: Implement IWICBitmapDecoderInfo::GetComponentType.

---

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

diff --git a/dlls/windowscodecs/info.c b/dlls/windowscodecs/info.c
index 3db3d2d..c3895da 100644
--- a/dlls/windowscodecs/info.c
+++ b/dlls/windowscodecs/info.c
@@ -95,8 +95,9 @@ static ULONG WINAPI BitmapDecoderInfo_Release(IWICBitmapDecoderInfo *iface)
 static HRESULT WINAPI BitmapDecoderInfo_GetComponentType(IWICBitmapDecoderInfo *iface,
     WICComponentType *pType)
 {
-    FIXME("(%p,%p): stub\n", iface, pType);
-    return E_NOTIMPL;
+    TRACE("(%p,%p)\n", iface, pType);
+    *pType = WICDecoder;
+    return S_OK;
 }
 
 static HRESULT WINAPI BitmapDecoderInfo_GetCLSID(IWICBitmapDecoderInfo *iface, CLSID *pclsid)




More information about the wine-cvs mailing list