gdiplus: Added a minimal implementation of GdipCreateImageAttributes.
This commit is contained in:
parent
55c77d46c6
commit
6d9e4a4a92
|
@ -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);
|
||||||
|
|
||||||
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)
|
||||||
|
|
Loading…
Reference in New Issue