diff --git a/dlls/windowscodecs/proxy.c b/dlls/windowscodecs/proxy.c index 4df14c78ef8..c3209cc54cf 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 31b41d2bc0c..269fda579e3 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