网站首页  词典首页

请输入您要查询的函数:

 

术语 setrectrgn
释义 SetRectRgn
语法:
BOOL SetRectRgn(
__in HRGN hrgn,
__in int nLeftRect,
__in int nTopRect,
__in int nRightRect,
__in int nBottomRect
);
SetRectRgn功能
该SetRectRgn函数转换成一个具有指定的矩形区域一个区域的坐标。
参数
hrgn [in]
处理该地区。
nLeftRect [in]
指定的X坐标的逻辑单元的矩形区域的左上角。
nTopRect [in]
指定的y坐标中的逻辑单元的矩形区域的左上角。
nRightRect [in]
指定的X坐标下,在逻辑单位矩形区域的右上角。
nBottomRect [in]
指定的y坐标下的逻辑单位在矩形区域的右上角。
返回值
如果函数成功,返回值为非零。
如果函数失败,返回值是零。
备注
该地区不包括降低和权利矩形的边界。
要求:
最低支持:client-Windows 2000专业版
最低支持server-Windows 2000服务器
HeaderWingdi.h(头文件:winuser.h)
LibraryGdi32.lib
DLLGdi32.dll
参见
地区概况
区域函数
CreateRectRgn
如果有任何问题和意见,请发送给微软(wsddocfb@microsoft.com)
生成日期:2009年7月11日
==英文原文==SetRectRgn Function
The SetRectRgn function converts a region into a rectangular region with the specified coordinates.
Syntax
BOOL SetRectRgn(
__in HRGN hrgn,
__in int nLeftRect,
__in int nTopRect,
__in int nRightRect,
__in int nBottomRect
);
Parameters
hrgn [in]
Handle to the region.
nLeftRect [in]
Specifies the x-coordinate of the upper-left corner of the rectangular region in logical units.
nTopRect [in]
Specifies the y-coordinate of the upper-left corner of the rectangular region in logical units.
nRightRect [in]
Specifies the x-coordinate of the lower-right corner of the rectangular region in logical units.
nBottomRect [in]
Specifies the y-coordinate of the lower-right corner of the rectangular region in logical units.
Return Value
If the function succeeds, the return value is nonzero.
If the function fails, the return value is zero.
Remarks
The region does not include the lower and right boundaries of the rectangle.
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
CreateRectRgn
Send comments about this topic to Microsoft
Build date: 7/11/2009
==原始网址==http://msdn.microsoft.com/en-us/library/dd145087(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:26:17