BOOL GdiFlush(void) |
The GdiFlush function forces a flush of the current batch.
This function has no parameters.
TRUE if all calls in the current batch succeeded. False if any one failed.
The only calls that can be batched are GDI drawing calls that return BOOLEAN values. Any non batchable call will also flush the current batch. Batching is used as a performance enhancement. You can limit the number of calls that can be accumulated by GdiSetBatchLimit.
The return value is only accumulated over the calls in the current batch. If a batch is flushed by any other means, the return codes are lost. Other actions that flush the batch are:
Reaching the batch limit set by GdiSetBatchLimit.
Filling the batching buffers.
Calling a non batchable call.
GdiSetBatchLimit