Commit 6d9e4a4a authored by Evan Stade's avatar Evan Stade Committed by Alexandre Julliard

gdiplus: Added a minimal implementation of GdipCreateImageAttributes.

parent 55c77d46
...@@ -126,4 +126,8 @@ struct GpMetafile{ ...@@ -126,4 +126,8 @@ struct GpMetafile{
GpImage image; GpImage image;
}; };
struct GpImageAttributes{
WrapMode wrap;
};
#endif #endif
...@@ -26,15 +26,13 @@ WINE_DEFAULT_DEBUG_CHANNEL(gdiplus); ...@@ -26,15 +26,13 @@ WINE_DEFAULT_DEBUG_CHANNEL(gdiplus);
GpStatus WINGDIPAPI GdipCreateImageAttributes(GpImageAttributes **imageattr) GpStatus WINGDIPAPI GdipCreateImageAttributes(GpImageAttributes **imageattr)
{ {
static int calls;
if(!imageattr) if(!imageattr)
return InvalidParameter; return InvalidParameter;
if(!(calls++)) *imageattr = GdipAlloc(sizeof(GpImageAttributes));
FIXME("not implemented\n"); if(!*imageattr) return OutOfMemory;
return NotImplemented; return Ok;
} }
GpStatus WINGDIPAPI GdipDisposeImageAttributes(GpImageAttributes *imageattr) GpStatus WINGDIPAPI GdipDisposeImageAttributes(GpImageAttributes *imageattr)
......
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