windowscodecs: Add wrapper functions for IWICBitmap methods.

This commit is contained in:
Vincent Povirk 2012-05-08 10:41:44 -05:00 committed by Alexandre Julliard
parent 9294d4e95f
commit 1f0ec3cba5
2 changed files with 21 additions and 3 deletions

View File

@ -84,6 +84,24 @@ HRESULT WINAPI IWICBitmapSource_CopyPixels_Proxy_W(IWICBitmapSource *iface,
return IWICBitmapSource_CopyPixels(iface, prc, cbStride, cbBufferSize, pbBuffer);
}
HRESULT WINAPI IWICBitmap_Lock_Proxy_W(IWICBitmap *iface,
const WICRect *prcLock, DWORD flags, IWICBitmapLock **ppILock)
{
return IWICBitmap_Lock(iface, prcLock, flags, ppILock);
}
HRESULT WINAPI IWICBitmap_SetPalette_Proxy_W(IWICBitmap *iface,
IWICPalette *pIPalette)
{
return IWICBitmap_SetPalette(iface, pIPalette);
}
HRESULT WINAPI IWICBitmap_SetResolution_Proxy_W(IWICBitmap *iface,
double dpiX, double dpiY)
{
return IWICBitmap_SetResolution(iface, dpiX, dpiY);
}
HRESULT WINAPI IWICColorContext_InitializeFromMemory_Proxy_W(IWICColorContext *iface,
const BYTE *pbBuffer, UINT cbBufferSize)
{

View File

@ -49,9 +49,9 @@
@ 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
@ stdcall IWICBitmap_Lock_Proxy(ptr ptr long ptr) IWICBitmap_Lock_Proxy_W
@ stdcall IWICBitmap_SetPalette_Proxy(ptr ptr) IWICBitmap_SetPalette_Proxy_W
@ stdcall IWICBitmap_SetResolution_Proxy(ptr double double) IWICBitmap_SetResolution_Proxy_W
@ stdcall IWICColorContext_InitializeFromMemory_Proxy(ptr ptr long) IWICColorContext_InitializeFromMemory_Proxy_W
@ stub IWICComponentFactory_CreateMetadataWriterFromReader_Proxy
@ stub IWICComponentFactory_CreateQueryWriterFromBlockWriter_Proxy