From 0a438819549efdd40c324aaebd695273723bead0 Mon Sep 17 00:00:00 2001 From: Lei Zhang Date: Wed, 9 Apr 2008 13:26:48 -0700 Subject: [PATCH 13/22] 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; +} -- 1.5.3.6