网站首页  词典首页

请输入您要查询的函数:

 

术语 unionrect
释义 UnionRect
语法:
BOOL UnionRect(
__out LPRECT lprcDst,
__in const RECT *lprcSrc1,
__in const RECT *lprcSrc2
);
UnionRect功能
该UnionRect函数创建了两个矩形联盟。工会是最小的矩形同时包含源矩形。
参数
lprcDst [out]
一个RECT结构指针,将获得一个矩形,矩形包含所指出lprcSrc1和lprcSrc2参数。
lprcSrc1 [in]
一个RECT结构,它包含第一个源矩形的指针。
lprcSrc2 [in]
一个RECT结构,它包含了第二个源矩形的指针。
返回值
如果指定的结构包含一个非空矩形,则返回值为非零。
如果指定的结构不包含空矩形,返回值是零。
备注
该系统忽略了一个空的矩形,在所有坐标设置为零矩形的尺寸,因此,它不高或没有宽度。
因为应用程序可以使用不同的目的矩形,矩形的职能不使用明确的衡量单位。相反,所有矩形坐标和尺寸在签署的,逻辑值给出。映射模式和在该矩形用来确定测量装置的功能。
要求:
最低支持:client-Windows 2000专业版
最低支持server-Windows 2000服务器
HeaderWinuser.h(头文件:winuser.h)
LibraryUser32.lib
DLLUser32.dll
参见
矩形概述
矩形函数
InflateRect
IntersectRect
OffsetRect
RECT
如果有任何问题和意见,请发送给微软(wsddocfb@microsoft.com)
生成日期:2009年7月11日
==英文原文==UnionRect Function
The UnionRect function creates the union of two rectangles. The union is the smallest rectangle that contains both source rectangles.
Syntax
BOOL UnionRect(
__out LPRECT lprcDst,
__in const RECT *lprcSrc1,
__in const RECT *lprcSrc2
);
Parameters
lprcDst [out]
A pointer to the RECT structure that will receive a rectangle containing the rectangles pointed to by the lprcSrc1 and lprcSrc2 parameters.
lprcSrc1 [in]
A pointer to the RECT structure that contains the first source rectangle.
lprcSrc2 [in]
A pointer to the RECT structure that contains the second source rectangle.
Return Value
If the specified structure contains a nonempty rectangle, the return value is nonzero.
If the specified structure does not contain a nonempty rectangle, the return value is zero.
Remarks
The system ignores the dimensions of an empty rectangle that is, a rectangle in which all coordinates are set to zero, so that it has no height or no width.
Because applications can use rectangles for different purposes, the rectangle functions do not use an explicit unit of measure. Instead, all rectangle coordinates and dimensions are given in signed, logical values. The mapping mode and the function in which the rectangle is used determine the units of measure.
Requirements
Minimum supported clientWindows 2000 Professional
Minimum supported serverWindows 2000 Server
HeaderWinuser.h (include Windows.h)
LibraryUser32.lib
DLLUser32.dll
See Also
Rectangles Overview
Rectangle Functions
InflateRect
IntersectRect
OffsetRect
RECT
Send comments about this topic to Microsoft
Build date: 7/11/2009
==原始网址==http://msdn.microsoft.com/en-us/library/dd145163(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:17:51