batch在这里是什么意思 ?
sms88 2009-04-04 04:18:27 thread's current batch.这里的batch是个什么概念?
GdiSetBatchLimit
The GdiSetBatchLimit function sets the maximum number of function calls that can be accumulated in the calling thread's current batch. The system flushes the current batch whenever this limit is exceeded.
DWORD GdiSetBatchLimit(
DWORD dwLimit // batch limit
);
Parameters
dwLimit
[in] Specifies the batch limit to be set. A value of 0 sets the default limit. A value of 1 disables batching.
Return Values
If the function succeeds, the return value is the previous batch limit.
If the function fails, the return value is zero.
Windows NT/2000/XP: To get extended error information, call GetLastError.