[5/7] windowscodecs: Implement MetadataReaderInfo_GetSpecVersion.

Dmitry Timoshkov dmitry at baikal.ru
Mon Jul 2 02:14:06 CDT 2012


---
 dlls/windowscodecs/info.c | 8 ++++++--
 1 file 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,
-- 
1.7.11.1




More information about the wine-patches mailing list