Hans Leidekker : windowscodecs: Implement IWICColorContext:: GetExifColorSpace.

Alexandre Julliard julliard at winehq.org
Thu Nov 15 15:26:31 CST 2012


Module: wine
Branch: master
Commit: da7c8c6331b93dc2b6ed5ec27f520fbf0099e027
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=da7c8c6331b93dc2b6ed5ec27f520fbf0099e027

Author: Hans Leidekker <hans at codeweavers.com>
Date:   Thu Nov 15 14:08:47 2012 +0100

windowscodecs: Implement IWICColorContext::GetExifColorSpace.

---

 dlls/windowscodecs/colorcontext.c |    7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/dlls/windowscodecs/colorcontext.c b/dlls/windowscodecs/colorcontext.c
index 5c8e4db..ba23387 100644
--- a/dlls/windowscodecs/colorcontext.c
+++ b/dlls/windowscodecs/colorcontext.c
@@ -158,8 +158,11 @@ static HRESULT WINAPI ColorContext_GetProfileBytes(IWICColorContext *iface,
 static HRESULT WINAPI ColorContext_GetExifColorSpace(IWICColorContext *iface,
     UINT *pValue)
 {
-    FIXME("(%p,%p)\n", iface, pValue);
-    return E_NOTIMPL;
+    ColorContext *This = impl_from_IWICColorContext(iface);
+    TRACE("(%p,%p)\n", iface, pValue);
+
+    *pValue = This->exif_color_space;
+    return S_OK;
 }
 
 static const IWICColorContextVtbl ColorContext_Vtbl = {




More information about the wine-cvs mailing list