windowscodecs: Implement GetThumbnail in the PNG frame decoder.

This commit is contained in:
Dmitry Timoshkov 2012-12-10 11:45:04 +08:00 committed by Alexandre Julliard
parent 560cfedcba
commit f52f910f8b
1 changed files with 6 additions and 2 deletions

View File

@ -903,8 +903,12 @@ static HRESULT WINAPI PngDecoder_Frame_GetColorContexts(IWICBitmapFrameDecode *i
static HRESULT WINAPI PngDecoder_Frame_GetThumbnail(IWICBitmapFrameDecode *iface,
IWICBitmapSource **ppIThumbnail)
{
FIXME("(%p,%p): stub\n", iface, ppIThumbnail);
return E_NOTIMPL;
TRACE("(%p,%p)\n", iface, ppIThumbnail);
if (!ppIThumbnail) return E_INVALIDARG;
*ppIThumbnail = NULL;
return WINCODEC_ERR_CODECNOTHUMBNAIL;
}
static const IWICBitmapFrameDecodeVtbl PngDecoder_FrameVtbl = {