|
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.MonitorsAssembly: 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
)
<DllImportAttribute("user32.dll">]
Public Shared Function EnumDisplayMonitors (
deviceContextHandle As IntPtr,
rectPointer As IntPtr,
enumProcPointer As MonitorHelperMonitorEnumProc,
data As IntPtr
) As Boolean
public:
[DllImportAttribute(L"user32.dll")]
static bool EnumDisplayMonitors(
IntPtr deviceContextHandle,
IntPtr rectPointer,
MonitorHelperMonitorEnumProc^ enumProcPointer,
IntPtr data
)
[<DllImportAttribute("user32.dll")>]
static member EnumDisplayMonitors :
deviceContextHandle : IntPtr *
rectPointer : IntPtr *
enumProcPointer : MonitorHelperMonitorEnumProc *
data : IntPtr -> bool
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
BooleanSee Also