Dmitry Timoshkov : windowscodecs: Implement FormatConverterInfo_GetSpecVersion.
Module: wine Branch: master Commit: 7c191379963647f1ec734e237048731b83613a7b URL: http://source.winehq.org/git/wine.git/?a=commit;h=7c191379963647f1ec734e2370... Author: Dmitry Timoshkov <dmitry(a)baikal.ru> Date: Mon Jul 2 17:46:17 2012 +0900 windowscodecs: Implement FormatConverterInfo_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 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,
participants (1)
-
Alexandre Julliard