Training
Module
Explore support and diagnostic tools - Training
This module introduces the tools for troubleshooting the Windows client operating system and provides guidance on how to use them.
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
The following functions provide support for multiple monitors.
Function | Description |
---|---|
EnumDisplayMonitors | Enumerates display monitors that intersect a region formed by the intersection of a specified clipping rectangle and the visible region of a device context. |
GetMonitorInfo | Retrieves information about a display monitor. |
MonitorEnumProc | An application-defined callback function that is called by the EnumDisplayMonitors function. |
MonitorFromPoint | Retrieves a handle to the display monitor that contains a specified point. |
MonitorFromRect | Retrieves a handle to the display monitor that has the largest area of intersection with a specified rectangle. |
MonitorFromWindow | Retrieves a handle to the display monitor that has the largest area of intersection with the bounding rectangle of a specified window. |
Training
Module
Explore support and diagnostic tools - Training
This module introduces the tools for troubleshooting the Windows client operating system and provides guidance on how to use them.
Documentation
GetMonitorInfoW function (winuser.h) - Win32 apps
The GetMonitorInfo function retrieves information about a display monitor. (Unicode)
MONITORINFO (winuser.h) - Win32 apps
The MONITORINFO structure contains information about a display monitor.The GetMonitorInfo function stores information in a MONITORINFO structure or a MONITORINFOEX structure.The MONITORINFO structure is a subset of the MONITORINFOEX structure.
HMONITOR and the Device Context - Win32 apps
Each physical display is represented by a monitor handle of type HMONITOR.