Click or drag to resize
Xcalibur Systems LLC Logo

MonitorHelperEnumDisplayMonitors Method

The EnumDisplayMonitors function enumerates display monitors (including invisible pseudo-monitors associated with the mirroring drivers) that intersect a region formed by the intersection of a specified clipping rectangle and the visible region of a device context.

EnumDisplayMonitors 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 bool EnumDisplayMonitors(
	IntPtr deviceContextHandle,
	IntPtr rectPointer,
	MonitorHelperMonitorEnumProc enumProcPointer,
	IntPtr data
)

Parameters

deviceContextHandle  IntPtr
A handle to a display device context that defines the visible region of interest.
rectPointer  IntPtr
A pointer to a structure that specifies a clipping rectangle.
enumProcPointer  MonitorHelperMonitorEnumProc
A pointer to a application-defined callback function.
data  IntPtr
Application-defined data that EnumDisplayMonitors passes directly to the function.

Return Value

Boolean
See Also