网站首页  词典首页

请输入您要查询的函数:

 

术语 offsetrgn
释义 OffsetRgn
语法:
int OffsetRgn(
__in HRGN hrgn,
__in int nXOffset,
__in int nYOffset
);
OffsetRgn功能
该OffsetRgn函数将在指定偏移的地区。
参数
hrgn [in]
处理该地区移动。
nXOffset [in]
指定的逻辑单位数目,向左或向右移动。
nYOffset [in]
指定的逻辑单位数目,向上或向下移动。
返回值
返回值指定新的区域的复杂性。它可以是下列值之一。
ValueMeaning
NULLREGIONRegion是空的。
SIMPLEREGIONRegion是一个单一的矩形。
COMPLEXREGIONRegion不止一个矩形。
ERRORAn错误发生;地区不受影响。
要求:
最低支持:client-Windows 2000专业版
最低支持server-Windows 2000服务器
HeaderWingdi.h(头文件:winuser.h)
LibraryGdi32.lib
DLLGdi32.dll
参见
地区概况
区域函数
如果有任何问题和意见,请发送给微软(wsddocfb@microsoft.com)
生成日期:2009年7月11日
==英文原文==OffsetRgn Function
The OffsetRgn function moves a region by the specified offsets.
Syntax
int OffsetRgn(
__in HRGN hrgn,
__in int nXOffset,
__in int nYOffset
);
Parameters
hrgn [in]
Handle to the region to be moved.
nXOffset [in]
Specifies the number of logical units to move left or right.
nYOffset [in]
Specifies the number of logical units to move up or down.
Return Value
The return value specifies the new region's complexity. It can be one of the following values.
ValueMeaning
NULLREGIONRegion is empty.
SIMPLEREGIONRegion is a single rectangle.
COMPLEXREGIONRegion is more than one rectangle.
ERRORAn error occurred; region is unaffected.

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
Send comments about this topic to Microsoft
Build date: 7/11/2009
==原始网址==http://msdn.microsoft.com/en-us/library/dd162747(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:28:55