From 9a0405dc979e1ee9a971d4a0af1fd982bc2f4f83 Mon Sep 17 00:00:00 2001 From: Evan Stade Date: Tue, 31 Jul 2007 19:16:08 -0700 Subject: [PATCH] gdiplus: Added GdipRemovePropertyItem stub. --- dlls/gdiplus/gdiplus.spec | 2 +- dlls/gdiplus/image.c | 13 +++++++++++++ include/gdiplusflat.h | 1 + 3 files changed, 15 insertions(+), 1 deletion(-) diff --git a/dlls/gdiplus/gdiplus.spec b/dlls/gdiplus/gdiplus.spec index fb14d56a442..5c4493c879f 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 1b986aee7b6..bd11b2e2ecc 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 29ff401f2b5..122cbfa484b 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*);