网站首页  词典首页

请输入您要查询的函数:

 

术语 getrgnbox
释义 GetRgnBox
语法:
int GetRgnBox(
__in HRGN hrgn,
__out LPRECT lprc
);
GetRgnBox功能
该GetRgnBox函数检索指定区域的边界矩形。
参数
hrgn [in]
阿处理该地区。
炼油公司[out]
一个RECT结构,它接收的逻辑单位的边界矩形的指针。
返回值
返回值指定区域的复杂性。它可以是下列值之一:
ValueMeaning
NULLREGIONRegion是空的。
SIMPLEREGIONRegion是一个单一的矩形。
COMPLEXREGIONRegion比一个单一的矩形更多。
如果hrgn参数没有确定一个有效的地区,返回值是零。
要求:
最低支持:client-Windows 2000专业版
最低支持server-Windows 2000服务器
HeaderWingdi.h(头文件:winuser.h)
LibraryGdi32.lib
DLLGdi32.dll
参见
地区概况
区域函数
RECT
如果有任何问题和意见,请发送给微软(wsddocfb@microsoft.com)
生成日期:2009年7月11日
==英文原文==GetRgnBox Function
The GetRgnBox function retrieves the bounding rectangle of the specified region.
Syntax
int GetRgnBox(
__in HRGN hrgn,
__out LPRECT lprc
);
Parameters
hrgn [in]
A handle to the region.
lprc [out]
A pointer to a RECT structure that receives the bounding rectangle in logical units.
Return Value
The return value specifies the region's complexity. It can be one of the following values:
ValueMeaning
NULLREGIONRegion is empty.
SIMPLEREGIONRegion is a single rectangle.
COMPLEXREGIONRegion is more than a single rectangle.

If the hrgn parameter does not identify a valid region, the return value is zero.
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
RECT
Send comments about this topic to Microsoft
Build date: 7/11/2009
==原始网址==http://msdn.microsoft.com/en-us/library/dd144921(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:15:26