Module: wine Branch: master Commit: 2d3cf48300cbb731d0be9b0f5fbb9fc3df29109a URL: http://source.winehq.org/git/wine.git/?a=commit;h=2d3cf48300cbb731d0be9b0f5f...
Author: Dmitry Timoshkov dmitry@baikal.ru Date: Mon Jun 25 12:27:22 2012 +0900
windowscodecs: Implement TiffFrameDecode_GetThumbnail.
---
dlls/windowscodecs/tiffformat.c | 8 ++++++-- 1 files changed, 6 insertions(+), 2 deletions(-)
diff --git a/dlls/windowscodecs/tiffformat.c b/dlls/windowscodecs/tiffformat.c index a64d65f..5351098 100644 --- a/dlls/windowscodecs/tiffformat.c +++ b/dlls/windowscodecs/tiffformat.c @@ -1096,8 +1096,12 @@ static HRESULT WINAPI TiffFrameDecode_GetColorContexts(IWICBitmapFrameDecode *if static HRESULT WINAPI TiffFrameDecode_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 TiffFrameDecode_Vtbl = {