windowscodecs: Implement MetadataReaderInfo_GetVendorGUID.

Dmitry Timoshkov dmitry at baikal.ru
Sun Jun 24 22:54:21 CDT 2012


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

diff --git a/dlls/windowscodecs/info.c b/dlls/windowscodecs/info.c
index b67eddd..a21aba2 100644
--- a/dlls/windowscodecs/info.c
+++ b/dlls/windowscodecs/info.c
@@ -1410,8 +1410,11 @@ static HRESULT WINAPI MetadataReaderInfo_GetAuthor(IWICMetadataReaderInfo *iface
 static HRESULT WINAPI MetadataReaderInfo_GetVendorGUID(IWICMetadataReaderInfo *iface,
     GUID *vendor)
 {
-    FIXME("(%p,%p): stub\n", iface, vendor);
-    return E_NOTIMPL;
+    MetadataReaderInfo *This = impl_from_IWICMetadataReaderInfo(iface);
+
+    TRACE("(%p,%p)\n", iface, vendor);
+
+    return ComponentInfo_GetGUIDValue(This->classkey, vendor_valuename, vendor);
 }
 
 static HRESULT WINAPI MetadataReaderInfo_GetVersion(IWICMetadataReaderInfo *iface,
-- 
1.7.11




More information about the wine-patches mailing list