 |
GdiFlush ..msdn Add comment W32 Constants Translate this page |
 |
 |
|
Flushes the calling thread`s current batch. |
 |
 |
| Code examples: |
 |
|
|
 |
 |
| Declaration: |
 |
 |
BOOL GdiFlush(VOID);
|
 |
 |
 |
| FoxPro declaration: |
 |
 |
DECLARE INTEGER GdiFlush IN gdi32
|
 |
 |
 |
| Parameters: |
 |
| This function has no parameters. |
 |
 |
| Return value: |
 |
If all functions in the current batch succeed, the return value is nonzero.
If not all functions in the current batch succeed, the return value is zero, indicating that at least one function returned an error.
|
 |
 |
| Usage: |
 |
= GdiFlush()
|
 |
 |
| My comment: |
 |
Batching enhances drawing performance by minimizing the amount of time needed to call GDI drawing functions that return Boolean values. The batch limit is maintained for each thread separately.
See also: GdiGetBatchLimit, GdiSetBatchLimit |
 |
 |
| Word Index links for the GdiFlush : |
 |
|
|
 |
 |
| Translate this page: |
 |
|
 |
 |
| • |
 |
| Created: | 2008-01-04 13:38:27 | | Modified: | 2008-01-04 13:50:25 | Visited in last 7 days: 12 |