mirror of
https://github.com/reactos/wine.git
synced 2024-11-28 22:20:26 +00:00
windowscodecs: Implement GetThumbnail in the PNG frame decoder.
This commit is contained in:
parent
560cfedcba
commit
f52f910f8b
@ -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 = {
|
||||
|
Loading…
Reference in New Issue
Block a user