windowscodecs: Add wrapper functions for IWICPalette methods.
This commit is contained in:
parent
1f0ec3cba5
commit
2fc7cdc93f
|
@ -247,6 +247,54 @@ HRESULT WINAPI IWICImagingFactory_CreateStream_Proxy_W(IWICImagingFactory *pFact
|
||||||
return IWICImagingFactory_CreateStream(pFactory, ppIWICStream);
|
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)
|
HRESULT WINAPI WICCreateImagingFactory_Proxy(UINT SDKVersion, IWICImagingFactory **ppIImagingFactory)
|
||||||
{
|
{
|
||||||
TRACE("%x, %p\n", SDKVersion, ppIImagingFactory);
|
TRACE("%x, %p\n", SDKVersion, ppIImagingFactory);
|
||||||
|
|
|
@ -91,14 +91,14 @@
|
||||||
@ stub IWICMetadataQueryReader_GetMetadataByName_Proxy
|
@ stub IWICMetadataQueryReader_GetMetadataByName_Proxy
|
||||||
@ stub IWICMetadataQueryWriter_RemoveMetadataByName_Proxy
|
@ stub IWICMetadataQueryWriter_RemoveMetadataByName_Proxy
|
||||||
@ stub IWICMetadataQueryWriter_SetMetadataByName_Proxy
|
@ stub IWICMetadataQueryWriter_SetMetadataByName_Proxy
|
||||||
@ stub IWICPalette_GetColorCount_Proxy
|
@ stdcall IWICPalette_GetColorCount_Proxy(ptr ptr) IWICPalette_GetColorCount_Proxy_W
|
||||||
@ stub IWICPalette_GetColors_Proxy
|
@ stdcall IWICPalette_GetColors_Proxy(ptr long ptr ptr) IWICPalette_GetColors_Proxy_W
|
||||||
@ stub IWICPalette_GetType_Proxy
|
@ stdcall IWICPalette_GetType_Proxy(ptr ptr) IWICPalette_GetType_Proxy_W
|
||||||
@ stub IWICPalette_HasAlpha_Proxy
|
@ stdcall IWICPalette_HasAlpha_Proxy(ptr ptr) IWICPalette_HasAlpha_Proxy_W
|
||||||
@ stub IWICPalette_InitializeCustom_Proxy
|
@ stdcall IWICPalette_InitializeCustom_Proxy(ptr ptr long) IWICPalette_InitializeCustom_Proxy_W
|
||||||
@ stub IWICPalette_InitializeFromBitmap_Proxy
|
@ stdcall IWICPalette_InitializeFromBitmap_Proxy(ptr ptr long long) IWICPalette_InitializeFromBitmap_Proxy_W
|
||||||
@ stub IWICPalette_InitializeFromPalette_Proxy
|
@ stdcall IWICPalette_InitializeFromPalette_Proxy(ptr ptr) IWICPalette_InitializeFromPalette_Proxy_W
|
||||||
@ stub IWICPalette_InitializePredefined_Proxy
|
@ stdcall IWICPalette_InitializePredefined_Proxy(ptr long long) IWICPalette_InitializePredefined_Proxy_W
|
||||||
@ stub IWICPixelFormatInfo_GetBitsPerPixel_Proxy
|
@ stub IWICPixelFormatInfo_GetBitsPerPixel_Proxy
|
||||||
@ stub IWICPixelFormatInfo_GetChannelCount_Proxy
|
@ stub IWICPixelFormatInfo_GetChannelCount_Proxy
|
||||||
@ stub IWICPixelFormatInfo_GetChannelMask_Proxy
|
@ stub IWICPixelFormatInfo_GetChannelMask_Proxy
|
||||||
|
|
Loading…
Reference in New Issue