windowscodecs: Implement MetadataHandler_Load.

Dmitry Timoshkov dmitry at baikal.ru
Tue Jul 24 01:00:29 CDT 2012


---
 dlls/windowscodecs/metadatahandler.c | 5 +++--
 1 file 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,
-- 
1.7.11.2




More information about the wine-patches mailing list