Commit 2fc7cdc9 authored by Vincent Povirk's avatar Vincent Povirk Committed by Alexandre Julliard

windowscodecs: Add wrapper functions for IWICPalette methods.

parent 1f0ec3cb
......@@ -247,6 +247,54 @@ HRESULT WINAPI IWICImagingFactory_CreateStream_Proxy_W(IWICImagingFactory *pFact
return IWICImagingFactory_CreateStream(pFactory, ppIWICStream);
}
HRESULT WINAPI IWICPalette_InitializePredefined_Proxy_W(IWICPalette *iface,
WICBitmapPaletteType ePaletteType, BOOL fAddTransparentColor)
{
return IWICPalette_InitializePredefined(iface, ePaletteType, fAddTransparentColor);
}
HRESULT WINAPI IWICPalette_InitializeCustom_Proxy_W(IWICPalette *iface,
WICColor *pColors, UINT colorCount)
{
return IWICPalette_InitializeCustom(iface, pColors, colorCount);
}
HRESULT WINAPI IWICPalette_InitializeFromBitmap_Proxy_W(IWICPalette *iface,
IWICBitmapSource *pISurface, UINT colorCount, BOOL fAddTransparentColor)
{
return IWICPalette_InitializeFromBitmap(iface, pISurface, colorCount, fAddTransparentColor);
}
HRESULT WINAPI IWICPalette_InitializeFromPalette_Proxy_W(IWICPalette *iface,
IWICPalette *pIPalette)
{
return IWICPalette_InitializeFromPalette(iface, pIPalette);
}
HRESULT WINAPI IWICPalette_GetType_Proxy_W(IWICPalette *iface,
WICBitmapPaletteType *pePaletteType)
{
return IWICPalette_GetType(iface, pePaletteType);
}
HRESULT WINAPI IWICPalette_GetColorCount_Proxy_W(IWICPalette *iface,
UINT *pcCount)
{
return IWICPalette_GetColorCount(iface, pcCount);
}
HRESULT WINAPI IWICPalette_GetColors_Proxy_W(IWICPalette *iface,
UINT colorCount, WICColor *pColors, UINT *pcActualColors)
{
return IWICPalette_GetColors(iface, colorCount, pColors, pcActualColors);
}
HRESULT WINAPI IWICPalette_HasAlpha_Proxy_W(IWICPalette *iface,
BOOL *pfHasAlpha)
{
return IWICPalette_HasAlpha(iface, pfHasAlpha);
}
HRESULT WINAPI WICCreateImagingFactory_Proxy(UINT SDKVersion, IWICImagingFactory **ppIImagingFactory)
{
TRACE("%x, %p\n", SDKVersion, ppIImagingFactory);
......
......@@ -91,14 +91,14 @@
@ stub IWICMetadataQueryReader_GetMetadataByName_Proxy
@ stub IWICMetadataQueryWriter_RemoveMetadataByName_Proxy
@ stub IWICMetadataQueryWriter_SetMetadataByName_Proxy
@ stub IWICPalette_GetColorCount_Proxy
@ stub IWICPalette_GetColors_Proxy
@ stub IWICPalette_GetType_Proxy
@ stub IWICPalette_HasAlpha_Proxy
@ stub IWICPalette_InitializeCustom_Proxy
@ stub IWICPalette_InitializeFromBitmap_Proxy
@ stub IWICPalette_InitializeFromPalette_Proxy
@ stub IWICPalette_InitializePredefined_Proxy
@ stdcall IWICPalette_GetColorCount_Proxy(ptr ptr) IWICPalette_GetColorCount_Proxy_W
@ stdcall IWICPalette_GetColors_Proxy(ptr long ptr ptr) IWICPalette_GetColors_Proxy_W
@ stdcall IWICPalette_GetType_Proxy(ptr ptr) IWICPalette_GetType_Proxy_W
@ stdcall IWICPalette_HasAlpha_Proxy(ptr ptr) IWICPalette_HasAlpha_Proxy_W
@ stdcall IWICPalette_InitializeCustom_Proxy(ptr ptr long) IWICPalette_InitializeCustom_Proxy_W
@ stdcall IWICPalette_InitializeFromBitmap_Proxy(ptr ptr long long) IWICPalette_InitializeFromBitmap_Proxy_W
@ stdcall IWICPalette_InitializeFromPalette_Proxy(ptr ptr) IWICPalette_InitializeFromPalette_Proxy_W
@ stdcall IWICPalette_InitializePredefined_Proxy(ptr long long) IWICPalette_InitializePredefined_Proxy_W
@ stub IWICPixelFormatInfo_GetBitsPerPixel_Proxy
@ stub IWICPixelFormatInfo_GetChannelCount_Proxy
@ stub IWICPixelFormatInfo_GetChannelMask_Proxy
......
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