windowscodecs: Implement BitmapEncoderInfo_GetSpecVersion.

This commit is contained in:
Dmitry Timoshkov 2012-07-02 17:45:05 +09:00 committed by Alexandre Julliard
parent 67fc1a49e1
commit 3dd73e90b5
1 changed files with 6 additions and 2 deletions

View File

@ -723,8 +723,12 @@ static HRESULT WINAPI BitmapEncoderInfo_GetVersion(IWICBitmapEncoderInfo *iface,
static HRESULT WINAPI BitmapEncoderInfo_GetSpecVersion(IWICBitmapEncoderInfo *iface, UINT cchSpecVersion, static HRESULT WINAPI BitmapEncoderInfo_GetSpecVersion(IWICBitmapEncoderInfo *iface, UINT cchSpecVersion,
WCHAR *wzSpecVersion, UINT *pcchActual) WCHAR *wzSpecVersion, UINT *pcchActual)
{ {
FIXME("(%p,%u,%p,%p): stub\n", iface, cchSpecVersion, wzSpecVersion, pcchActual); BitmapEncoderInfo *This = impl_from_IWICBitmapEncoderInfo(iface);
return E_NOTIMPL;
TRACE("(%p,%u,%p,%p)\n", iface, cchSpecVersion, wzSpecVersion, pcchActual);
return ComponentInfo_GetStringValue(This->classkey, specversion_valuename,
cchSpecVersion, wzSpecVersion, pcchActual);
} }
static HRESULT WINAPI BitmapEncoderInfo_GetFriendlyName(IWICBitmapEncoderInfo *iface, UINT cchFriendlyName, static HRESULT WINAPI BitmapEncoderInfo_GetFriendlyName(IWICBitmapEncoderInfo *iface, UINT cchFriendlyName,