Dmitry Timoshkov : windowscodecs: Implement MetadataReaderInfo_GetSpecVersion.

Alexandre Julliard julliard at winehq.org
Tue Jul 3 10:58:24 CDT 2012


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

Author: Dmitry Timoshkov <dmitry at baikal.ru>
Date:   Mon Jul  2 16:14:06 2012 +0900

windowscodecs: Implement MetadataReaderInfo_GetSpecVersion.

---

 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 1bfbfc7..36d2e87 100644
--- a/dlls/windowscodecs/info.c
+++ b/dlls/windowscodecs/info.c
@@ -1527,8 +1527,12 @@ static HRESULT WINAPI MetadataReaderInfo_GetVersion(IWICMetadataReaderInfo *ifac
 static HRESULT WINAPI MetadataReaderInfo_GetSpecVersion(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, specversion_valuename,
+                                        length, version, actual_length);
 }
 
 static HRESULT WINAPI MetadataReaderInfo_GetFriendlyName(IWICMetadataReaderInfo *iface,




More information about the wine-cvs mailing list