Commit 22383aa6 authored by Vincent Povirk's avatar Vincent Povirk Committed by Alexandre Julliard

windowscodecs: Implement IWICBitmapScaler::CopyPalette.

parent e4f8ab60
......@@ -150,9 +150,16 @@ static HRESULT WINAPI BitmapScaler_GetResolution(IWICBitmapScaler *iface,
static HRESULT WINAPI BitmapScaler_CopyPalette(IWICBitmapScaler *iface,
IWICPalette *pIPalette)
{
FIXME("(%p,%p): stub\n", iface, pIPalette);
BitmapScaler *This = impl_from_IWICBitmapScaler(iface);
TRACE("(%p,%p)\n", iface, pIPalette);
return E_NOTIMPL;
if (!pIPalette)
return E_INVALIDARG;
if (!This->source)
return WINCODEC_ERR_WRONGSTATE;
return IWICBitmapSource_CopyPalette(This->source, pIPalette);
}
static HRESULT WINAPI BitmapScaler_CopyPixels(IWICBitmapScaler *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