gdiplus: Added a minimal implementation of GdipCreateImageAttributes.
This commit is contained in:
parent
55c77d46c6
commit
6d9e4a4a92
|
@ -126,4 +126,8 @@ struct GpMetafile{
|
|||
GpImage image;
|
||||
};
|
||||
|
||||
struct GpImageAttributes{
|
||||
WrapMode wrap;
|
||||
};
|
||||
|
||||
#endif
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue