windowscodecs: Implement GetSize for the GIF decoder.
This commit is contained in:
parent
45e9804a8e
commit
d095d27d92
|
@ -102,8 +102,13 @@ static ULONG WINAPI GifFrameDecode_Release(IWICBitmapFrameDecode *iface)
|
||||||
static HRESULT WINAPI GifFrameDecode_GetSize(IWICBitmapFrameDecode *iface,
|
static HRESULT WINAPI GifFrameDecode_GetSize(IWICBitmapFrameDecode *iface,
|
||||||
UINT *puiWidth, UINT *puiHeight)
|
UINT *puiWidth, UINT *puiHeight)
|
||||||
{
|
{
|
||||||
FIXME("(%p,%p,%p): stub\n", iface, puiWidth, puiHeight);
|
GifFrameDecode *This = (GifFrameDecode*)iface;
|
||||||
return E_NOTIMPL;
|
TRACE("(%p,%p,%p)\n", iface, puiWidth, puiHeight);
|
||||||
|
|
||||||
|
*puiWidth = This->frame->ImageDesc.Width;
|
||||||
|
*puiHeight = This->frame->ImageDesc.Height;
|
||||||
|
|
||||||
|
return S_OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
static HRESULT WINAPI GifFrameDecode_GetPixelFormat(IWICBitmapFrameDecode *iface,
|
static HRESULT WINAPI GifFrameDecode_GetPixelFormat(IWICBitmapFrameDecode *iface,
|
||||||
|
|
Loading…
Reference in New Issue