Module: wine Branch: master Commit: 99eac8e3a11eddf0ec808f0486d3ec59b2621c31 URL: http://source.winehq.org/git/wine.git/?a=commit;h=99eac8e3a11eddf0ec808f0486...
Author: Vincent Povirk vincent@codeweavers.com Date: Tue May 8 10:23:45 2012 -0500
windowscodecs: Add wrapper for IWICColorContext_InitializeFromMemory.
---
dlls/windowscodecs/proxy.c | 6 ++++++ dlls/windowscodecs/windowscodecs.spec | 2 +- 2 files changed, 7 insertions(+), 1 deletions(-)
diff --git a/dlls/windowscodecs/proxy.c b/dlls/windowscodecs/proxy.c index 4df14c7..c3209cc 100644 --- a/dlls/windowscodecs/proxy.c +++ b/dlls/windowscodecs/proxy.c @@ -36,6 +36,12 @@
WINE_DEFAULT_DEBUG_CHANNEL(wincodecs);
+HRESULT WINAPI IWICColorContext_InitializeFromMemory_Proxy_W(IWICColorContext *iface, + const BYTE *pbBuffer, UINT cbBufferSize) +{ + return IWICColorContext_InitializeFromMemory(iface, pbBuffer, cbBufferSize); +} + HRESULT WINAPI IWICFastMetadataEncoder_Commit_Proxy_W(IWICFastMetadataEncoder *iface) { return IWICFastMetadataEncoder_Commit(iface); diff --git a/dlls/windowscodecs/windowscodecs.spec b/dlls/windowscodecs/windowscodecs.spec index 31b41d2..269fda5 100644 --- a/dlls/windowscodecs/windowscodecs.spec +++ b/dlls/windowscodecs/windowscodecs.spec @@ -52,7 +52,7 @@ @ stub IWICBitmap_Lock_Proxy @ stub IWICBitmap_SetPalette_Proxy @ stub IWICBitmap_SetResolution_Proxy -@ stub IWICColorContext_InitializeFromMemory_Proxy +@ stdcall IWICColorContext_InitializeFromMemory_Proxy(ptr ptr long) IWICColorContext_InitializeFromMemory_Proxy_W @ stub IWICComponentFactory_CreateMetadataWriterFromReader_Proxy @ stub IWICComponentFactory_CreateQueryWriterFromBlockWriter_Proxy @ stub IWICComponentInfo_GetAuthor_Proxy