From 1b762afa63ec6541425ae827090cde03ee152997 Mon Sep 17 00:00:00 2001 From: Hans Leidekker Date: Thu, 15 Nov 2012 14:06:10 +0100 Subject: [PATCH] windowscodecs: Implement WICCreateColorContext_Proxy. --- dlls/windowscodecs/proxy.c | 7 +++++++ dlls/windowscodecs/windowscodecs.spec | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/dlls/windowscodecs/proxy.c b/dlls/windowscodecs/proxy.c index 4ee12c25836..2f727b40e73 100644 --- a/dlls/windowscodecs/proxy.c +++ b/dlls/windowscodecs/proxy.c @@ -620,6 +620,13 @@ HRESULT WINAPI IWICStream_InitializeFromMemory_Proxy_W(IWICStream *iface, return IWICStream_InitializeFromMemory(iface, pbBuffer, cbBufferSize); } +HRESULT WINAPI WICCreateColorContext_Proxy(IWICImagingFactory *iface, IWICColorContext **ppIWICColorContext) +{ + TRACE("%p, %p\n", iface, ppIWICColorContext); + + return IWICImagingFactory_CreateColorContext(iface, ppIWICColorContext); +} + HRESULT WINAPI WICCreateImagingFactory_Proxy(UINT SDKVersion, IWICImagingFactory **ppIImagingFactory) { TRACE("%x, %p\n", SDKVersion, ppIImagingFactory); diff --git a/dlls/windowscodecs/windowscodecs.spec b/dlls/windowscodecs/windowscodecs.spec index 453a84e79eb..3d70084cc51 100644 --- a/dlls/windowscodecs/windowscodecs.spec +++ b/dlls/windowscodecs/windowscodecs.spec @@ -106,7 +106,7 @@ @ stdcall IWICStream_InitializeFromMemory_Proxy(ptr ptr long) IWICStream_InitializeFromMemory_Proxy_W @ stdcall WICConvertBitmapSource(ptr ptr ptr) @ stub WICCreateBitmapFromSection -@ stub WICCreateColorContext_Proxy +@ stdcall WICCreateColorContext_Proxy(ptr ptr) @ stdcall WICCreateImagingFactory_Proxy(long ptr) @ stub WICGetMetadataContentSize @ stub WICMapGuidToShortName