Module: wine Branch: master Commit: 9a0405dc979e1ee9a971d4a0af1fd982bc2f4f83 URL: http://source.winehq.org/git/wine.git/?a=commit;h=9a0405dc979e1ee9a971d4a0af...
Author: Evan Stade estade@gmail.com Date: Tue Jul 31 19:16:08 2007 -0700
gdiplus: Added GdipRemovePropertyItem stub.
---
dlls/gdiplus/gdiplus.spec | 2 +- dlls/gdiplus/image.c | 13 +++++++++++++ include/gdiplusflat.h | 1 + 3 files changed, 15 insertions(+), 1 deletions(-)
diff --git a/dlls/gdiplus/gdiplus.spec b/dlls/gdiplus/gdiplus.spec index fb14d56..5c4493c 100644 --- a/dlls/gdiplus/gdiplus.spec +++ b/dlls/gdiplus/gdiplus.spec @@ -473,7 +473,7 @@ @ stub GdipRecordMetafileStream @ stub GdipRecordMetafileStreamI @ stub GdipReleaseDC -@ stub GdipRemovePropertyItem +@ stdcall GdipRemovePropertyItem(ptr long) @ stub GdipResetClip @ stub GdipResetImageAttributes @ stub GdipResetLineTransform diff --git a/dlls/gdiplus/image.c b/dlls/gdiplus/image.c index 1b986ae..bd11b2e 100644 --- a/dlls/gdiplus/image.c +++ b/dlls/gdiplus/image.c @@ -287,6 +287,19 @@ GpStatus WINGDIPAPI GdipLoadImageFromStreamICM(IStream* stream, GpImage **image) return Ok; }
+GpStatus WINGDIPAPI GdipRemovePropertyItem(GpImage *image, PROPID propId) +{ + static int calls; + + if(!image) + return InvalidParameter; + + if(!(calls++)) + FIXME("not implemented\n"); + + return NotImplemented; +} + GpStatus WINGDIPAPI GdipSaveImageToStream(GpImage *image, IStream* stream, GDIPCONST CLSID* clsid, GDIPCONST EncoderParameters* params) { diff --git a/include/gdiplusflat.h b/include/gdiplusflat.h index 29ff401..122cbfa 100644 --- a/include/gdiplusflat.h +++ b/include/gdiplusflat.h @@ -153,6 +153,7 @@ GpStatus WINGDIPAPI GdipGetMetafileHeaderFromMetafile(GpMetafile*,MetafileHeader GpStatus WINGDIPAPI GdipGetPropertyItemSize(GpImage*,PROPID,UINT*); GpStatus WINGDIPAPI GdipImageGetFrameCount(GpImage*,GDIPCONST GUID*,UINT*); GpStatus WINGDIPAPI GdipLoadImageFromStreamICM(IStream*,GpImage**); +GpStatus WINGDIPAPI GdipRemovePropertyItem(GpImage*,PROPID); GpStatus WINGDIPAPI GdipSaveImageToStream(GpImage*,IStream*, GDIPCONST CLSID*,GDIPCONST EncoderParameters*);