windowscodecs: Add wrapper functions for IWICBitmapSource methods.

This commit is contained in:
Vincent Povirk 2012-05-08 10:29:27 -05:00 committed by Alexandre Julliard
parent 99eac8e3a1
commit 3c353607b1
2 changed files with 35 additions and 5 deletions

View File

@ -36,6 +36,36 @@
WINE_DEFAULT_DEBUG_CHANNEL(wincodecs);
HRESULT WINAPI IWICBitmapSource_GetSize_Proxy_W(IWICBitmapSource *iface,
UINT *puiWidth, UINT *puiHeight)
{
return IWICBitmapSource_GetSize(iface, puiWidth, puiHeight);
}
HRESULT WINAPI IWICBitmapSource_GetPixelFormat_Proxy_W(IWICBitmapSource *iface,
WICPixelFormatGUID *pPixelFormat)
{
return IWICBitmapSource_GetPixelFormat(iface, pPixelFormat);
}
HRESULT WINAPI IWICBitmapSource_GetResolution_Proxy_W(IWICBitmapSource *iface,
double *pDpiX, double *pDpiY)
{
return IWICBitmapSource_GetResolution(iface, pDpiX, pDpiY);
}
HRESULT WINAPI IWICBitmapSource_CopyPalette_Proxy_W(IWICBitmapSource *iface,
IWICPalette *pIPalette)
{
return IWICBitmapSource_CopyPalette(iface, pIPalette);
}
HRESULT WINAPI IWICBitmapSource_CopyPixels_Proxy_W(IWICBitmapSource *iface,
const WICRect *prc, UINT cbStride, UINT cbBufferSize, BYTE *pbBuffer)
{
return IWICBitmapSource_CopyPixels(iface, prc, cbStride, cbBufferSize, pbBuffer);
}
HRESULT WINAPI IWICColorContext_InitializeFromMemory_Proxy_W(IWICColorContext *iface,
const BYTE *pbBuffer, UINT cbBufferSize)
{

View File

@ -44,11 +44,11 @@
@ stub IWICBitmapLock_GetDataPointer_STA_Proxy
@ stub IWICBitmapLock_GetStride_Proxy
@ stub IWICBitmapScaler_Initialize_Proxy
@ stub IWICBitmapSource_CopyPalette_Proxy
@ stub IWICBitmapSource_CopyPixels_Proxy
@ stub IWICBitmapSource_GetPixelFormat_Proxy
@ stub IWICBitmapSource_GetResolution_Proxy
@ stub IWICBitmapSource_GetSize_Proxy
@ stdcall IWICBitmapSource_CopyPalette_Proxy(ptr ptr) IWICBitmapSource_CopyPalette_Proxy_W
@ stdcall IWICBitmapSource_CopyPixels_Proxy(ptr ptr long long ptr) IWICBitmapSource_CopyPixels_Proxy_W
@ stdcall IWICBitmapSource_GetPixelFormat_Proxy(ptr ptr) IWICBitmapSource_GetPixelFormat_Proxy_W
@ stdcall IWICBitmapSource_GetResolution_Proxy(ptr ptr ptr) IWICBitmapSource_GetResolution_Proxy_W
@ stdcall IWICBitmapSource_GetSize_Proxy(ptr ptr ptr) IWICBitmapSource_GetSize_Proxy_W
@ stub IWICBitmap_Lock_Proxy
@ stub IWICBitmap_SetPalette_Proxy
@ stub IWICBitmap_SetResolution_Proxy