Hans Leidekker : windowscodecs: Implement WICCreateColorContext_Proxy.
Alexandre Julliard
julliard at winehq.org
Thu Nov 15 15:26:31 CST 2012
Module: wine
Branch: master
Commit: 1b762afa63ec6541425ae827090cde03ee152997
URL: http://source.winehq.org/git/wine.git/?a=commit;h=1b762afa63ec6541425ae827090cde03ee152997
Author: Hans Leidekker <hans at codeweavers.com>
Date: Thu Nov 15 14:06:10 2012 +0100
windowscodecs: Implement WICCreateColorContext_Proxy.
---
dlls/windowscodecs/proxy.c | 7 +++++++
dlls/windowscodecs/windowscodecs.spec | 2 +-
2 files changed, 8 insertions(+), 1 deletions(-)
diff --git a/dlls/windowscodecs/proxy.c b/dlls/windowscodecs/proxy.c
index 4ee12c2..2f727b4 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 453a84e..3d70084 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
More information about the wine-cvs
mailing list