Dmitry Timoshkov : windowscodecs: Implement MetadataHandler_Load.

Alexandre Julliard julliard at winehq.org
Tue Jul 24 14:39:27 CDT 2012


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

Author: Dmitry Timoshkov <dmitry at baikal.ru>
Date:   Tue Jul 24 15:00:29 2012 +0900

windowscodecs: Implement MetadataHandler_Load.

---

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

diff --git a/dlls/windowscodecs/metadatahandler.c b/dlls/windowscodecs/metadatahandler.c
index 7072a95..042d6ae 100644
--- a/dlls/windowscodecs/metadatahandler.c
+++ b/dlls/windowscodecs/metadatahandler.c
@@ -380,8 +380,9 @@ static HRESULT WINAPI MetadataHandler_IsDirty(IWICPersistStream *iface)
 static HRESULT WINAPI MetadataHandler_Load(IWICPersistStream *iface,
     IStream *pStm)
 {
-    FIXME("(%p,%p): stub\n", iface, pStm);
-    return E_NOTIMPL;
+    MetadataHandler *This = impl_from_IWICPersistStream(iface);
+    TRACE("(%p,%p)\n", iface, pStm);
+    return IWICPersistStream_LoadEx(&This->IWICPersistStream_iface, pStm, NULL, WICPersistOptionsDefault);
 }
 
 static HRESULT WINAPI MetadataHandler_Save(IWICPersistStream *iface,




More information about the wine-cvs mailing list