gdiplus: Implemented GdipDisposeImage.

This commit is contained in:
Evan Stade 2007-07-31 19:14:57 -07:00 committed by Alexandre Julliard
parent 8d05cb0c47
commit 7352cfdb83
1 changed files with 7 additions and 7 deletions

View File

@ -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;
IPicture_Release(image->picture);
GdipFree(image);
if(!(calls++))
FIXME("not implemented\n");
return NotImplemented;
return Ok;
}
GpStatus WINGDIPAPI GdipGetImageBounds(GpImage *image, GpRectF *srcRect,