windowscodecs: Implement GetPreview in the PNG decoder.

This commit is contained in:
Dmitry Timoshkov 2012-12-10 11:44:37 +08:00 committed by Alexandre Julliard
parent 03c9c3ce44
commit 560cfedcba

View File

@ -630,8 +630,12 @@ static HRESULT WINAPI PngDecoder_GetMetadataQueryReader(IWICBitmapDecoder *iface
static HRESULT WINAPI PngDecoder_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 PngDecoder_GetColorContexts(IWICBitmapDecoder *iface,