Commit ccc4c2d5 authored by Vincent Povirk's avatar Vincent Povirk Committed by Alexandre Julliard

windowscodecs: Implement GetSize for the ICO decoder.

parent c49b36ea
......@@ -123,8 +123,14 @@ static ULONG WINAPI IcoFrameDecode_Release(IWICBitmapFrameDecode *iface)
static HRESULT WINAPI IcoFrameDecode_GetSize(IWICBitmapFrameDecode *iface,
UINT *puiWidth, UINT *puiHeight)
{
FIXME("(%p,%p,%p): stub\n", iface, puiWidth, puiHeight);
return E_NOTIMPL;
IcoFrameDecode *This = (IcoFrameDecode*)iface;
*puiWidth = This->entry.bWidth ? This->entry.bWidth : 256;
*puiHeight = This->entry.bHeight ? This->entry.bHeight : 256;
TRACE("(%p) -> (%i,%i)\n", iface, *puiWidth, *puiHeight);
return S_OK;
}
static HRESULT WINAPI IcoFrameDecode_GetPixelFormat(IWICBitmapFrameDecode *iface,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment