gdiplus: Stub for GdipFlush.
This commit is contained in:
parent
d4ae6fa1ea
commit
f620b663a7
|
@ -234,7 +234,7 @@
|
|||
@ stdcall GdipFindFirstImageItem(ptr ptr)
|
||||
@ stub GdipFindNextImageItem
|
||||
@ stub GdipFlattenPath
|
||||
@ stub GdipFlush
|
||||
@ stdcall GdipFlush(long)
|
||||
@ stdcall GdipFree(ptr)
|
||||
@ stub GdipGetAdjustableArrowCapFillState
|
||||
@ stub GdipGetAdjustableArrowCapHeight
|
||||
|
|
|
@ -1957,6 +1957,19 @@ GpStatus WINGDIPAPI GdipFillRectanglesI(GpGraphics *graphics, GpBrush *brush, GD
|
|||
return ret;
|
||||
}
|
||||
|
||||
GpStatus WINGDIPAPI GdipFlush(GpGraphics *graphics, GpFlushIntention intention)
|
||||
{
|
||||
static int calls;
|
||||
|
||||
if(!graphics)
|
||||
return InvalidParameter;
|
||||
|
||||
if(!(calls++))
|
||||
FIXME("not implemented\n");
|
||||
|
||||
return NotImplemented;
|
||||
}
|
||||
|
||||
/* FIXME: Compositing mode is not used anywhere except the getter/setter. */
|
||||
GpStatus WINGDIPAPI GdipGetCompositingMode(GpGraphics *graphics,
|
||||
CompositingMode *mode)
|
||||
|
|
|
@ -298,6 +298,12 @@ enum CombineMode
|
|||
CombineModeComplement
|
||||
};
|
||||
|
||||
enum FlushIntention
|
||||
{
|
||||
FlushIntentionFlush = 0,
|
||||
FlushIntentionSync = 1
|
||||
};
|
||||
|
||||
#ifndef __cplusplus
|
||||
|
||||
typedef enum Unit Unit;
|
||||
|
@ -329,6 +335,7 @@ typedef enum HotkeyPrefix HotkeyPrefix;
|
|||
typedef enum PenAlignment GpPenAlignment;
|
||||
typedef enum ImageCodecFlags ImageCodecFlags;
|
||||
typedef enum CombineMode CombineMode;
|
||||
typedef enum FlushIntention FlushIntention;
|
||||
|
||||
#endif /* end of c typedefs */
|
||||
|
||||
|
|
|
@ -368,6 +368,7 @@ GpStatus WINGDIPAPI GdipGetRegionHRgn(GpRegion *, GpGraphics *, HRGN *);
|
|||
GpStatus WINGDIPAPI GdipSetEmpty(GpRegion *);
|
||||
GpStatus WINGDIPAPI GdipSetInfinite(GpRegion *);
|
||||
|
||||
GpStatus WINGDIPAPI GdipFlush(GpGraphics*, GpFlushIntention);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
|
|
|
@ -81,5 +81,6 @@ typedef MatrixOrder GpMatrixOrder;
|
|||
typedef Point GpPoint;
|
||||
typedef WrapMode GpWrapMode;
|
||||
typedef Color GpColor;
|
||||
typedef FlushIntention GpFlushIntention;
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue