gdiplus: Implemented GdipDisposeImage.
This commit is contained in:
parent
8d05cb0c47
commit
7352cfdb83
|
@ -21,6 +21,8 @@
|
||||||
#include "windef.h"
|
#include "windef.h"
|
||||||
#include "winbase.h"
|
#include "winbase.h"
|
||||||
#include "wingdi.h"
|
#include "wingdi.h"
|
||||||
|
|
||||||
|
#define COBJMACROS
|
||||||
#include "objbase.h"
|
#include "objbase.h"
|
||||||
|
|
||||||
#include "gdiplus.h"
|
#include "gdiplus.h"
|
||||||
|
@ -31,15 +33,13 @@ WINE_DEFAULT_DEBUG_CHANNEL(gdiplus);
|
||||||
|
|
||||||
GpStatus WINGDIPAPI GdipDisposeImage(GpImage *image)
|
GpStatus WINGDIPAPI GdipDisposeImage(GpImage *image)
|
||||||
{
|
{
|
||||||
static int calls;
|
if(!image)
|
||||||
|
return InvalidParameter;
|
||||||
|
|
||||||
if(!image)
|
IPicture_Release(image->picture);
|
||||||
return InvalidParameter;
|
GdipFree(image);
|
||||||
|
|
||||||
if(!(calls++))
|
return Ok;
|
||||||
FIXME("not implemented\n");
|
|
||||||
|
|
||||||
return NotImplemented;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
GpStatus WINGDIPAPI GdipGetImageBounds(GpImage *image, GpRectF *srcRect,
|
GpStatus WINGDIPAPI GdipGetImageBounds(GpImage *image, GpRectF *srcRect,
|
||||||
|
|
Loading…
Reference in New Issue