DWORD GdiGetBatchLimit() |
The GdiGetBatchLimit function returns the number of GDI drawing calls that can be accumulated before any drawing occurs.
This function has no parameters.
The return value specifies the batch-limit value. It is zero if an error occurred. Use the GetLastError function to obtain extended error information.
The only calls that can be batched are GDI drawing calls that return BOOL's. If a call is batched it will return TRUE. Any non batchable call will flush the current batch. Setting cLimit to 1 will effectively remove batching all together. You can force the batch to be flushed at any time with GdiFlush.
GdiFlush, GdiSetBatchLimit