网站首页  词典首页

请输入您要查询的函数:

 

术语 gdigetbatchlimit
释义 GdiGetBatchLimit
语法:
DWORD GdiGetBatchLimit(void);
GdiGetBatchLimit功能
该GdiGetBatchLimit函数返回函数调用的最大数量,可以在调用线程的当前一批积累。该系统刷新当前批处理时超过此限制。
参数
这个函数没有参数。
返回值
如果函数成功,返回值是一批限制。
如果函数失败,返回值是零。
备注
批处理限制是通过使用GdiSetBatchLimit功能。设置限额为1有效地禁用配料。
GDI的绘图功能,只有返回布尔值可以是批处理,要求任何其他GDI函数立即刷新当前批处理。超过批次限制,或调用GdiFlush功能也刷新当前批处理。
当系统分批一个函数调用,该函数返回TRUE。该函数的返回值是实际只有GdiFlush报告是用来刷新一批。
注意保持批次限制为每个线程分别。为了在每个线程初始化完全禁用配料,请GdiSetBatchLimit(1)。
要求:
最低支持:client-Windows 2000专业版
最低支持server-Windows 2000服务器
HeaderWingdi.h(头文件:winuser.h)
LibraryGdi32.lib
DLLGdi32.dll
参见
绘画和绘图概述
绘画和绘图功能
GdiFlush
GdiSetBatchLimit
如果有任何问题和意见,请发送给微软(wsddocfb@microsoft.com)
生成日期:2009年7月11日
==英文原文==GdiGetBatchLimit Function
The GdiGetBatchLimit function returns 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.
Syntax
DWORD GdiGetBatchLimit(void);
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.
Remarks
The batch limit is set by using the GdiSetBatchLimit function. Setting the limit to 1 effectively disables batching.
Only GDI drawing functions that return Boolean values can be batched; calls to any other GDI functions immediately flush the current batch. Exceeding the batch limit or calling the GdiFlush function also flushes the current batch.
When the system batches a function call, the function returns TRUE. The actual return value for the function is reported only if GdiFlush is used to flush the batch.
Note The batch limit is maintained for each thread separately. In order to completely disable batching, call GdiSetBatchLimit (1) during the initialization of each thread.
Requirements
Minimum supported clientWindows 2000 Professional
Minimum supported serverWindows 2000 Server
HeaderWingdi.h (include Windows.h)
LibraryGdi32.lib
DLLGdi32.dll
See Also
Painting and Drawing Overview
Painting and Drawing Functions
GdiFlush
GdiSetBatchLimit
Send comments about this topic to Microsoft
Build date: 7/11/2009
==原始网址==http://msdn.microsoft.com/en-us/library/dd144845(VS.85).aspx\n
随便看

 

windows api函数参考手册包含2258条windows api函数文档,详细介绍nodejs、java、rust调用windows api的方法技巧,是学习windows api编程的入门中文文档。

 

Copyright © 2004-2023 Winrtm.com All Rights Reserved
京ICP备2021023879号-40 更新时间:2024/10/6 11:31:37