gdiplus: Added a minimal implementation of GdipCreateImageAttributes.

This commit is contained in:
Evan Stade 2007-07-30 19:09:54 -07:00 committed by Alexandre Julliard
parent 55c77d46c6
commit 6d9e4a4a92
2 changed files with 7 additions and 5 deletions

View File

@ -126,4 +126,8 @@ struct GpMetafile{
GpImage image;
};
struct GpImageAttributes{
WrapMode wrap;
};
#endif

View File

@ -26,15 +26,13 @@ WINE_DEFAULT_DEBUG_CHANNEL(gdiplus);
GpStatus WINGDIPAPI GdipCreateImageAttributes(GpImageAttributes **imageattr)
{
static int calls;
if(!imageattr)
return InvalidParameter;
if(!(calls++))
FIXME("not implemented\n");
*imageattr = GdipAlloc(sizeof(GpImageAttributes));
if(!*imageattr) return OutOfMemory;
return NotImplemented;
return Ok;
}
GpStatus WINGDIPAPI GdipDisposeImageAttributes(GpImageAttributes *imageattr)