Andrew Eikum : gdiplus: Stub for GdipDeleteEffect.
Alexandre Julliard
julliard at winehq.org
Wed Jun 3 09:31:16 CDT 2009
Module: wine
Branch: master
Commit: 84a434fd25e4cdadfec3ceec05bf48f7c1a07be0
URL: http://source.winehq.org/git/wine.git/?a=commit;h=84a434fd25e4cdadfec3ceec05bf48f7c1a07be0
Author: Andrew Eikum <andrew at brightnightgames.com>
Date: Tue Jun 2 22:33:32 2009 -0500
gdiplus: Stub for GdipDeleteEffect.
---
dlls/gdiplus/gdiplus.spec | 2 +-
dlls/gdiplus/image.c | 8 ++++++++
include/gdiplusflat.h | 2 ++
3 files changed, 11 insertions(+), 1 deletions(-)
diff --git a/dlls/gdiplus/gdiplus.spec b/dlls/gdiplus/gdiplus.spec
index abb20a3..054e71e 100644
--- a/dlls/gdiplus/gdiplus.spec
+++ b/dlls/gdiplus/gdiplus.spec
@@ -139,7 +139,7 @@
@ stdcall GdipDeleteBrush(ptr)
@ stdcall GdipDeleteCachedBitmap(ptr)
@ stdcall GdipDeleteCustomLineCap(ptr)
-@ stub GdipDeleteEffect
+@ stdcall GdipDeleteEffect(ptr)
@ stdcall GdipDeleteFont(ptr)
@ stdcall GdipDeleteFontFamily(ptr)
@ stdcall GdipDeleteGraphics(ptr)
diff --git a/dlls/gdiplus/image.c b/dlls/gdiplus/image.c
index 8691d64..de47c06 100644
--- a/dlls/gdiplus/image.c
+++ b/dlls/gdiplus/image.c
@@ -1601,6 +1601,14 @@ GpStatus WINGDIPAPI GdipCreateBitmapFromHBITMAP(HBITMAP hbm, HPALETTE hpal, GpBi
return retval;
}
+GpStatus WINGDIPAPI GdipDeleteEffect(CGpEffect *effect)
+{
+ FIXME("(%p): stub\n", effect);
+ /* note: According to Jose Roca's GDI+ Docs, this is not implemented
+ * in Windows's gdiplus */
+ return NotImplemented;
+}
+
/*****************************************************************************
* GdipSetEffectParameters [GDIPLUS.@]
*/
diff --git a/include/gdiplusflat.h b/include/gdiplusflat.h
index 3cf1020..db3045e 100644
--- a/include/gdiplusflat.h
+++ b/include/gdiplusflat.h
@@ -57,6 +57,8 @@ GpStatus WINGDIPAPI GdipCreateBitmapFromScan0(INT,INT,INT,PixelFormat,BYTE*,
GpBitmap**);
GpStatus WINGDIPAPI GdipCreateBitmapFromStream(IStream*,GpBitmap**);
GpStatus WINGDIPAPI GdipCreateBitmapFromStreamICM(IStream*,GpBitmap**);
+GpStatus WINGDIPAPI GdipCreateHICONFromBitmap(GpBitmap*,HICON*);
+GpStatus WINGDIPAPI GdipDeleteEffect(CGpEffect*);
/* Brush */
GpStatus WINGDIPAPI GdipCloneBrush(GpBrush*,GpBrush**);
More information about the wine-cvs
mailing list