Commit 7352cfdb authored by Evan Stade's avatar Evan Stade Committed by Alexandre Julliard

gdiplus: Implemented GdipDisposeImage.

parent 8d05cb0c
......@@ -21,6 +21,8 @@
#include "windef.h"
#include "winbase.h"
#include "wingdi.h"
#define COBJMACROS
#include "objbase.h"
#include "gdiplus.h"
......@@ -31,15 +33,13 @@ WINE_DEFAULT_DEBUG_CHANNEL(gdiplus);
GpStatus WINGDIPAPI GdipDisposeImage(GpImage *image)
{
static int calls;
if(!image)
return InvalidParameter;
if(!image)
return InvalidParameter;
if(!(calls++))
FIXME("not implemented\n");
IPicture_Release(image->picture);
GdipFree(image);
return NotImplemented;
return Ok;
}
GpStatus WINGDIPAPI GdipGetImageBounds(GpImage *image, GpRectF *srcRect,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment