Dmitry Timoshkov : windowscodecs: Implement IWICMetadataQueryReader:: GetContainerFormat.

Alexandre Julliard julliard at winehq.org
Wed Jun 21 16:43:44 CDT 2017


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

Author: Dmitry Timoshkov <dmitry at baikal.ru>
Date:   Tue Jun 20 12:37:22 2017 +0800

windowscodecs: Implement IWICMetadataQueryReader::GetContainerFormat.

Signed-off-by: Dmitry Timoshkov <dmitry at baikal.ru>
Signed-off-by: Vincent Povirk <vincent at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/windowscodecs/metadataquery.c | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/dlls/windowscodecs/metadataquery.c b/dlls/windowscodecs/metadataquery.c
index 8e58684..29df42e 100644
--- a/dlls/windowscodecs/metadataquery.c
+++ b/dlls/windowscodecs/metadataquery.c
@@ -89,12 +89,13 @@ static ULONG WINAPI mqr_Release(IWICMetadataQueryReader *iface)
     return ref;
 }
 
-static HRESULT WINAPI mqr_GetContainerFormat(IWICMetadataQueryReader *iface,
-        GUID *pguidContainerFormat)
+static HRESULT WINAPI mqr_GetContainerFormat(IWICMetadataQueryReader *iface, GUID *format)
 {
     QueryReader *This = impl_from_IWICMetadataQueryReader(iface);
-    FIXME("(%p,%p)\n", This, pguidContainerFormat);
-    return E_NOTIMPL;
+
+    TRACE("(%p,%p)\n", This, format);
+
+    return IWICMetadataBlockReader_GetContainerFormat(This->block, format);
 }
 
 static HRESULT WINAPI mqr_GetLocation(IWICMetadataQueryReader *iface,




More information about the wine-cvs mailing list