gdiplus: Added GdipDisposeImage stub.

This commit is contained in:
Evan Stade 2007-07-24 17:19:18 -07:00 committed by Alexandre Julliard
parent 021997fa63
commit fba5a59b61
3 changed files with 15 additions and 1 deletions

View file

@ -140,7 +140,7 @@
@ stub GdipDeletePrivateFontCollection
@ stub GdipDeleteRegion
@ stub GdipDeleteStringFormat
@ stub GdipDisposeImage
@ stdcall GdipDisposeImage(ptr)
@ stub GdipDisposeImageAttributes
@ stdcall GdipDrawArc(ptr ptr long long long long long long)
@ stub GdipDrawArcI

View file

@ -24,6 +24,19 @@
WINE_DEFAULT_DEBUG_CHANNEL(gdiplus);
GpStatus WINGDIPAPI GdipDisposeImage(GpImage *image)
{
static int calls;
if(!image)
return InvalidParameter;
if(!(calls++))
FIXME("not implemented\n");
return NotImplemented;
}
GpStatus WINGDIPAPI GdipGetImageHeight(GpImage *image, UINT *height)
{
static int calls;

View file

@ -128,6 +128,7 @@ GpStatus WINGDIPAPI GdipCreateCustomLineCap(GpPath*,GpPath*,GpLineCap,REAL,
GpCustomLineCap**);
GpStatus WINGDIPAPI GdipDeleteCustomLineCap(GpCustomLineCap*);
GpStatus WINGDIPAPI GdipDisposeImage(GpImage*);
GpStatus WINGDIPAPI GdipGetImageHeight(GpImage*,UINT*);
GpStatus WINGDIPAPI GdipGetImageHorizontalResolution(GpImage*,REAL*);
GpStatus WINGDIPAPI GdipGetImageRawFormat(GpImage*,GUID*);