 |
GdiGetBatchLimit ..msdn Add comment W32 Constants Translate this page |
 |
 |
|
Returns the maximum number of function calls that can be accumulated in the calling thread`s current batch. |
 |
 |
| Code examples: |
 |
|
|
 |
 |
| Declaration: |
 |
 |
DWORD GdiGetBatchLimit(VOID);
|
 |
 |
 |
| FoxPro declaration: |
 |
 |
DECLARE LONG GdiGetBatchLimit IN gdi32
|
 |
 |
 |
| Parameters: |
 |
| This function has no parameters. |
 |
 |
| Return value: |
 |
If the function succeeds, the return value is the batch limit. If the function fails, the return value is zero.
|
 |
 |
| Usage: |
 |
* returns 20 for Visual FoxPro 09.00.0000.5815 for Windows
nBatchLimit = GdiGetBatchLimit()
|
 |
 |
| My comment: |
 |
The batch limit is set by using the GdiSetBatchLimit function. Setting the limit to 1 effectively disables batching.
See also: GdiSetBatchLimit, GdiFlush
|
 |
 |
| Word Index links for the GdiGetBatchLimit : |
 |
|
|
 |
 |
| Translate this page: |
 |
|
 |
 |
| • |
 |
| Created: | 2008-01-04 13:42:21 | | Modified: | 2008-01-04 13:51:41 | Visited in last 7 days: 10 |