Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.
A version of this page is also available for
4/8/2010

The following table shows the multiple screens functions, with a description of the purpose of each.

Programming element Description

EnumDisplayMonitors

This function enumerates screens that intersect a region formed by the intersection of a specified clipping rectangle and the visible region of a specified device context.

GetMonitorInfo

This function retrieves information about a screen.

MonitorEnumProc

This function is an application-defined callback function that is called by the EnumDisplayMonitorsfunction.

MonitorFromPoint

This function retrieves a handle to the screen that contains a specified point.

MonitorFromRect

This function retrieves a handle to the screen that has the largest area of intersection with a specified rectangle.

MonitorFromWindow

This function retrieves a handle to the screen that has the largest area of intersection with the bounding rectangle of a specified window.

See Also