[10/17] windowscodecs: Implement IWICMetadataQueryReader::GetContainerFormat.

Dmitry Timoshkov dmitry at baikal.ru
Mon Jun 19 23:37:22 CDT 2017


Signed-off-by: Dmitry Timoshkov <dmitry at baikal.ru>
---
 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 a8632976a0..bf77605a8e 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,
-- 
2.13.1




More information about the wine-patches mailing list