Dmitry Timoshkov : windowscodecs: Implement TiffDecoder_GetPreview.
Alexandre Julliard
julliard at winehq.org
Tue Jun 26 13:34:12 CDT 2012
Module: wine
Branch: master
Commit: a7190c7dc7c82d0ba0d0be9db6774a1f354c9e6a
URL: http://source.winehq.org/git/wine.git/?a=commit;h=a7190c7dc7c82d0ba0d0be9db6774a1f354c9e6a
Author: Dmitry Timoshkov <dmitry at baikal.ru>
Date: Mon Jun 25 12:27:12 2012 +0900
windowscodecs: Implement TiffDecoder_GetPreview.
---
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 d12729f..a64d65f 100644
--- a/dlls/windowscodecs/tiffformat.c
+++ b/dlls/windowscodecs/tiffformat.c
@@ -628,8 +628,12 @@ static HRESULT WINAPI TiffDecoder_GetMetadataQueryReader(IWICBitmapDecoder *ifac
static HRESULT WINAPI TiffDecoder_GetPreview(IWICBitmapDecoder *iface,
IWICBitmapSource **ppIBitmapSource)
{
- FIXME("(%p,%p): stub\n", iface, ppIBitmapSource);
- return E_NOTIMPL;
+ TRACE("(%p,%p)\n", iface, ppIBitmapSource);
+
+ if (!ppIBitmapSource) return E_INVALIDARG;
+
+ *ppIBitmapSource = NULL;
+ return WINCODEC_ERR_UNSUPPORTEDOPERATION;
}
static HRESULT WINAPI TiffDecoder_GetColorContexts(IWICBitmapDecoder *iface,
More information about the wine-cvs
mailing list