网站首页  词典首页

请输入您要查询的函数:

 

术语 getregiondata
释义 GetRegionData
语法:
DWORD GetRegionData(
__in HRGN hRgn,
__in DWORD dwCount,
__out LPRGNDATA lpRgnData
);
GetRegionData功能
填充的GetRegionData功能与描述一个区域的数据指定的缓冲区。这些数据包括了矩形的尺寸,使该地区的行动。
参数
hRgn [in]
阿处理该地区。
dwCount [in]
大小,以字节为单位,在lpRgnData缓冲区。
lpRgnData [out]
一个 RGNDATA结构,接收信息的指针。该区域的尺寸是逻辑单位。如果该参数为NULL,则返回值包含该区域所需的数据的字节数。
返回值
如果函数成功,并dwCount指定一个足够数量的字节,则返回值始终dwCount。如果dwCount太小或函数失败,返回值为0。如果lpRgnData为NULL,则返回值是所需的字节数。
如果函数失败,返回值是零。
备注
该GetRegionData函数用于与ExtCreateRegion功能一起使用。
要求:
最低支持:client-Windows 2000专业版
最低支持server-Windows 2000服务器
HeaderWingdi.h(头文件:winuser.h)
LibraryGdi32.lib
DLLGdi32.dll
参见
地区概况
区域函数
CreatePolygonRgn
CreatePolyPolygonRgn
CreateRectRgn
CreateRectRgnIndirect
CreateRoundRectRgn
ExtCreateRegion
RGNDATA
如果有任何问题和意见,请发送给微软(wsddocfb@microsoft.com)
生成日期:2009年7月11日
==英文原文==GetRegionData Function
The GetRegionData function fills the specified buffer with data describing a region. This data includes the dimensions of the rectangles that make up the region.
Syntax
DWORD GetRegionData(
__in HRGN hRgn,
__in DWORD dwCount,
__out LPRGNDATA lpRgnData
);
Parameters
hRgn [in]
A handle to the region.
dwCount [in]
The size, in bytes, of the lpRgnData buffer.
lpRgnData [out]
A pointer to a RGNDATA structure that receives the information. The dimensions of the region are in logical units. If this parameter is NULL, the return value contains the number of bytes needed for the region data.
Return Value
If the function succeeds and dwCount specifies an adequate number of bytes, the return value is always dwCount. If dwCount is too small or the function fails, the return value is 0. If lpRgnData is NULL, the return value is the required number of bytes.
If the function fails, the return value is zero.
Remarks
The GetRegionData function is used in conjunction with the ExtCreateRegion function.
Requirements
Minimum supported clientWindows 2000 Professional
Minimum supported serverWindows 2000 Server
HeaderWingdi.h (include Windows.h)
LibraryGdi32.lib
DLLGdi32.dll
See Also
Regions Overview
Region Functions
CreatePolygonRgn
CreatePolyPolygonRgn
CreateRectRgn
CreateRectRgnIndirect
CreateRoundRectRgn
ExtCreateRegion
RGNDATA
Send comments about this topic to Microsoft
Build date: 7/11/2009
==原始网址==http://msdn.microsoft.com/en-us/library/dd144920(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 13:21:55