Lei Zhang : gdiplus: Add a stub for GdipSetImageAttributesOutputChannelColorProfile.
Alexandre Julliard
julliard at winehq.org
Thu Apr 10 04:39:30 CDT 2008
Module: wine
Branch: master
Commit: 5ba99f4eb556b4d0b3518d91404460e8b7e05e16
URL: http://source.winehq.org/git/wine.git/?a=commit;h=5ba99f4eb556b4d0b3518d91404460e8b7e05e16
Author: Lei Zhang <thestig at google.com>
Date: Wed Apr 9 13:26:48 2008 -0700
gdiplus: Add a stub for GdipSetImageAttributesOutputChannelColorProfile.
---
dlls/gdiplus/gdiplus.spec | 2 +-
dlls/gdiplus/imageattributes.c | 12 ++++++++++++
2 files changed, 13 insertions(+), 1 deletions(-)
diff --git a/dlls/gdiplus/gdiplus.spec b/dlls/gdiplus/gdiplus.spec
index 236714c..8157f4f 100644
--- a/dlls/gdiplus/gdiplus.spec
+++ b/dlls/gdiplus/gdiplus.spec
@@ -527,7 +527,7 @@
@ stdcall GdipSetImageAttributesGamma(ptr long long long)
@ stdcall GdipSetImageAttributesNoOp(ptr long long)
@ stdcall GdipSetImageAttributesOutputChannel(ptr long long long)
-@ stub GdipSetImageAttributesOutputChannelColorProfile
+@ stdcall GdipSetImageAttributesOutputChannelColorProfile(ptr long long ptr)
@ stub GdipSetImageAttributesRemapTable
@ stub GdipSetImageAttributesThreshold
@ stub GdipSetImageAttributesToIdentity
diff --git a/dlls/gdiplus/imageattributes.c b/dlls/gdiplus/imageattributes.c
index 61cf012..b74fc66 100644
--- a/dlls/gdiplus/imageattributes.c
+++ b/dlls/gdiplus/imageattributes.c
@@ -134,3 +134,15 @@ GpStatus WINGDIPAPI GdipSetImageAttributesOutputChannel(GpImageAttributes *image
return NotImplemented;
}
+
+GpStatus WINGDIPAPI GdipSetImageAttributesOutputChannelColorProfile(GpImageAttributes *imageAttr,
+ ColorAdjustType type, BOOL enableFlag,
+ GDIPCONST WCHAR *colorProfileFilename)
+{
+ static int calls;
+
+ if(!(calls++))
+ FIXME("not implemented\n");
+
+ return NotImplemented;
+}
More information about the wine-cvs
mailing list