gdiplus: Add a stub for GdipSetImageAttributesGamma.

This commit is contained in:
Lei Zhang 2008-04-09 13:14:45 -07:00 committed by Alexandre Julliard
parent 2b2db98cb6
commit 7b403d6b46
2 changed files with 12 additions and 1 deletions

View File

@ -524,7 +524,7 @@
@ stdcall GdipSetImageAttributesCachedBackground(ptr long) @ stdcall GdipSetImageAttributesCachedBackground(ptr long)
@ stdcall GdipSetImageAttributesColorKeys(ptr long long long long) @ stdcall GdipSetImageAttributesColorKeys(ptr long long long long)
@ stdcall GdipSetImageAttributesColorMatrix(ptr long long ptr ptr long) @ stdcall GdipSetImageAttributesColorMatrix(ptr long long ptr ptr long)
@ stub GdipSetImageAttributesGamma @ stdcall GdipSetImageAttributesGamma(ptr long long long)
@ stub GdipSetImageAttributesNoOp @ stub GdipSetImageAttributesNoOp
@ stub GdipSetImageAttributesOutputChannel @ stub GdipSetImageAttributesOutputChannel
@ stub GdipSetImageAttributesOutputChannelColorProfile @ stub GdipSetImageAttributesOutputChannelColorProfile

View File

@ -101,3 +101,14 @@ GpStatus WINGDIPAPI GdipSetImageAttributesCachedBackground(GpImageAttributes *im
return NotImplemented; return NotImplemented;
} }
GpStatus WINGDIPAPI GdipSetImageAttributesGamma(GpImageAttributes *imageAttr,
ColorAdjustType type, BOOL enableFlag, REAL gamma)
{
static int calls;
if(!(calls++))
FIXME("not implemented\n");
return NotImplemented;
}