windowscodecs: Implement FlipRotator_CopyPalette.

This commit is contained in:
Vincent Povirk 2011-07-27 16:09:10 -05:00 committed by Alexandre Julliard
parent 6956f2be1b
commit b031b619c7
1 changed files with 7 additions and 2 deletions

View File

@ -143,8 +143,13 @@ static HRESULT WINAPI FlipRotator_GetResolution(IWICBitmapFlipRotator *iface,
static HRESULT WINAPI FlipRotator_CopyPalette(IWICBitmapFlipRotator *iface,
IWICPalette *pIPalette)
{
FIXME("(%p,%p): stub\n", iface, pIPalette);
return E_NOTIMPL;
FlipRotator *This = impl_from_IWICBitmapFlipRotator(iface);
TRACE("(%p,%p)\n", iface, pIPalette);
if (!This->source)
return WINCODEC_ERR_WRONGSTATE;
else
return IWICBitmapSource_CopyPalette(This->source, pIPalette);
}
static HRESULT WINAPI FlipRotator_CopyPixels(IWICBitmapFlipRotator *iface,