Click or drag to resize
Xcalibur Systems LLC Logo

MonitorHelperMonitorFromRect Method

The MonitorFromRect function retrieves a handle to the display monitor that has the largest area of intersection with a specified rectangle.

MonitorFromRect function


Namespace: Xcalibur.NativeMethods.V2.Monitors
Assembly: Xcalibur.NativeMethods.V2 (in Xcalibur.NativeMethods.V2.dll) Version: 1.0.1.0
Syntax
[DllImportAttribute("user32.dll")]
public static IntPtr MonitorFromRect(
	in Rectangle rectPointer,
	uint flags
)

Parameters

rectPointer  Rectangle
The RECT pointer.
flags  UInt32
The flags.

Return Value

IntPtr
See Also