网站首页  词典首页

请输入您要查询的函数:

 

术语 getmetargn
释义 GetMetaRgn
语法:
int GetMetaRgn(
__in HDC hdc,
__in HRGN hrgn
);
GetMetaRgn功能
该GetMetaRgn函数检索指定的设备环境的当前metaregion。
参数
hdc [in]
一个句柄,设备上下文。
hrgn [in]
句柄到现有的区域之前,函数被调用。函数返回后,这个参数是一个句柄当前metaregion副本。
返回值
如果函数成功,返回值为非零。
如果函数失败,返回值是零。
备注
如果函数成功,hrgn是一个句柄当前metaregion副本。此复制后续更改将不会影响目前metaregion。
目前的设备上下文剪辑区域的定义是其剪辑区域和metaregion交集。
要求:
最低支持:client-Windows 2000专业版
最低支持server-Windows 2000服务器
HeaderWingdi.h(头文件:winuser.h)
LibraryGdi32.lib
DLLGdi32.dll
参见
裁剪概述
裁剪功能
SetMetaRgn
如果有任何问题和意见,请发送给微软(wsddocfb@microsoft.com)
生成日期:2009年7月11日
==英文原文==GetMetaRgn Function
The GetMetaRgn function retrieves the current metaregion for the specified device context.
Syntax
int GetMetaRgn(
__in HDC hdc,
__in HRGN hrgn
);
Parameters
hdc [in]
A handle to the device context.
hrgn [in]
A handle to an existing region before the function is called. After the function returns, this parameter is a handle to a copy of the current metaregion.
Return Value
If the function succeeds, the return value is nonzero.
If the function fails, the return value is zero.
Remarks
If the function succeeds, hrgn is a handle to a copy of the current metaregion. Subsequent changes to this copy will not affect the current metaregion.
The current clipping region of a device context is defined by the intersection of its clipping region and its metaregion.
Requirements
Minimum supported clientWindows 2000 Professional
Minimum supported serverWindows 2000 Server
HeaderWingdi.h (include Windows.h)
LibraryGdi32.lib
DLLGdi32.dll
See Also
Clipping Overview
Clipping Functions
SetMetaRgn
Send comments about this topic to Microsoft
Build date: 7/11/2009
==原始网址==http://msdn.microsoft.com/en-us/library/dd144899(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:25:20