[07/10] windowscodecs: Implement IWICColorContext::GetExifColorSpace.

Hans Leidekker hans at codeweavers.com
Thu Nov 15 07:08:47 CST 2012


---
 dlls/windowscodecs/colorcontext.c |    7 +++++--
 1 file 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 = {
-- 
1.7.10.4







More information about the wine-patches mailing list