Dmitry Timoshkov : windowscodecs: Implement MetadataReaderInfo_GetVersion.

Alexandre Julliard julliard at winehq.org
Thu Jun 21 15:03:39 CDT 2012


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

Author: Dmitry Timoshkov <dmitry at baikal.ru>
Date:   Thu Jun 21 13:30:50 2012 +0900

windowscodecs: Implement MetadataReaderInfo_GetVersion.

---

 dlls/windowscodecs/info.c |    8 ++++++--
 1 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/dlls/windowscodecs/info.c b/dlls/windowscodecs/info.c
index a777276..b67eddd 100644
--- a/dlls/windowscodecs/info.c
+++ b/dlls/windowscodecs/info.c
@@ -1417,8 +1417,12 @@ static HRESULT WINAPI MetadataReaderInfo_GetVendorGUID(IWICMetadataReaderInfo *i
 static HRESULT WINAPI MetadataReaderInfo_GetVersion(IWICMetadataReaderInfo *iface,
     UINT length, WCHAR *version, UINT *actual_length)
 {
-    FIXME("(%p,%u,%p,%p): stub\n", iface, length, version, actual_length);
-    return E_NOTIMPL;
+    MetadataReaderInfo *This = impl_from_IWICMetadataReaderInfo(iface);
+
+    TRACE("(%p,%u,%p,%p)\n", iface, length, version, actual_length);
+
+    return ComponentInfo_GetStringValue(This->classkey, version_valuename,
+                                        length, version, actual_length);
 }
 
 static HRESULT WINAPI MetadataReaderInfo_GetSpecVersion(IWICMetadataReaderInfo *iface,




More information about the wine-cvs mailing list