windowscodecs: Implement GetPixelFormat for TIFF decoder.

This commit is contained in:
Vincent Povirk 2010-03-19 15:20:52 -05:00 committed by Alexandre Julliard
parent ccaf1b1e5d
commit 8066e9beca
1 changed files with 7 additions and 2 deletions

View File

@ -559,8 +559,13 @@ static HRESULT WINAPI TiffFrameDecode_GetSize(IWICBitmapFrameDecode *iface,
static HRESULT WINAPI TiffFrameDecode_GetPixelFormat(IWICBitmapFrameDecode *iface,
WICPixelFormatGUID *pPixelFormat)
{
FIXME("(%p,%p)\n", iface, pPixelFormat);
return E_NOTIMPL;
TiffFrameDecode *This = (TiffFrameDecode*)iface;
memcpy(pPixelFormat, This->decode_info.format, sizeof(GUID));
TRACE("(%p) <-- %s\n", This, debugstr_guid(This->decode_info.format));
return S_OK;
}
static HRESULT WINAPI TiffFrameDecode_GetResolution(IWICBitmapFrameDecode *iface,