[3/7] windowscodecs: Implement FormatConverterInfo_GetSpecVersion.
Dmitry Timoshkov
dmitry at baikal.ru
Mon Jul 2 03:46:17 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 bd277b8..4c7fcc2 100644
--- a/dlls/windowscodecs/info.c
+++ b/dlls/windowscodecs/info.c
@@ -1013,8 +1013,12 @@ static HRESULT WINAPI FormatConverterInfo_GetVersion(IWICFormatConverterInfo *if
static HRESULT WINAPI FormatConverterInfo_GetSpecVersion(IWICFormatConverterInfo *iface, UINT cchSpecVersion,
WCHAR *wzSpecVersion, UINT *pcchActual)
{
- FIXME("(%p,%u,%p,%p): stub\n", iface, cchSpecVersion, wzSpecVersion, pcchActual);
- return E_NOTIMPL;
+ FormatConverterInfo *This = impl_from_IWICFormatConverterInfo(iface);
+
+ TRACE("(%p,%u,%p,%p)\n", iface, cchSpecVersion, wzSpecVersion, pcchActual);
+
+ return ComponentInfo_GetStringValue(This->classkey, specversion_valuename,
+ cchSpecVersion, wzSpecVersion, pcchActual);
}
static HRESULT WINAPI FormatConverterInfo_GetFriendlyName(IWICFormatConverterInfo *iface, UINT cchFriendlyName,
--
1.7.11.1
More information about the wine-patches
mailing list