网站首页  词典首页

请输入您要查询的函数:

 

术语 monitorfrompoint
释义 MonitorFromPoint
语法:
HMONITOR MonitorFromPoint(
__in POINT pt,
__in DWORD dwFlags
);
MonitorFromPoint功能
该MonitorFromPoint函数检索的句柄显示屏,包含一个指定的点。
参数
角 [in]
阿POINT结构,指定的虚拟屏幕的兴趣点坐标。
dwFlags [in]
确定函数的返回值,如果问题不在于在任何显示屏中。
此参数可以是下列值之一。
ValueMeaning
MONITOR_DEFAULTTONEARESTReturns的句柄显示屏是最接近点。
MONITOR_DEFAULTTONULLReturns空。
MONITOR_DEFAULTTOPRIMARYReturns的句柄主显示屏。
返回值
If the point is contained by a display monitor, the return value is an HMONITOR handle to that display monitor.
如果这一点不是由显示屏中,返回值取决于dwFlags价值。
要求:
最低支持:client-Windows 2000专业版
最低支持server-Windows 2000服务器
HeaderWinuser.h(头文件:winuser.h)
LibraryUser32.lib
DLLUser32.dll
参见
多显示监视器概述
多显示监视器功能
MonitorFromRect
MonitorFromWindow
如果有任何问题和意见,请发送给微软(wsddocfb@microsoft.com)
生成日期:2009年7月11日
==英文原文==MonitorFromPoint Function
The MonitorFromPoint function retrieves a handle to the display monitor that contains a specified point.
Syntax
HMONITOR MonitorFromPoint(
__in POINT pt,
__in DWORD dwFlags
);
Parameters
pt [in]
A POINT structure that specifies the point of interest in virtual-screen coordinates.
dwFlags [in]
Determines the function's return value if the point is not contained within any display monitor.
This parameter can be one of the following values.
ValueMeaning
MONITOR_DEFAULTTONEARESTReturns a handle to the display monitor that is nearest to the point.
MONITOR_DEFAULTTONULLReturns NULL.
MONITOR_DEFAULTTOPRIMARYReturns a handle to the primary display monitor.

Return Value
If the point is contained by a display monitor, the return value is an HMONITOR handle to that display monitor.
If the point is not contained by a display monitor, the return value depends on the value of dwFlags.
Requirements
Minimum supported clientWindows 2000 Professional
Minimum supported serverWindows 2000 Server
HeaderWinuser.h (include Windows.h)
LibraryUser32.lib
DLLUser32.dll
See Also
Multiple Display Monitors Overview
Multiple Display Monitors Functions
MonitorFromRect
MonitorFromWindow
Send comments about this topic to Microsoft
Build date: 7/11/2009
==原始网址==http://msdn.microsoft.com/en-us/library/dd145062(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 9:20:20