![Xcalibur Systems LLC Logo](../icons/logo.png) |
MonitorHelperMonitorEnumProc Delegate |
A MonitorEnumProc function is an application-defined callback function that is called by
the function. A value of type MONITORENUMPROC is a pointer to a
MonitorEnumProc function.
MonitorEnumProc callback function Namespace: Xcalibur.NativeMethods.V2.MonitorsAssembly: Xcalibur.NativeMethods.V2 (in Xcalibur.NativeMethods.V2.dll) Version: 1.0.1.0
Syntaxpublic delegate bool MonitorEnumProc(
IntPtr monitorHandle,
IntPtr deviceContextHandle,
ref Rectangle rectPointer,
IntPtr data
)
Public Delegate Function MonitorEnumProc (
monitorHandle As IntPtr,
deviceContextHandle As IntPtr,
ByRef rectPointer As Rectangle,
data As IntPtr
) As Boolean
public delegate bool MonitorEnumProc(
IntPtr monitorHandle,
IntPtr deviceContextHandle,
Rectangle% rectPointer,
IntPtr data
)
type MonitorEnumProc =
delegate of
monitorHandle : IntPtr *
deviceContextHandle : IntPtr *
rectPointer : Rectangle byref *
data : IntPtr -> bool
Parameters
- monitorHandle IntPtr
- A handle to the display monitor. This value will always be non-NULL.
- deviceContextHandle IntPtr
- A handle to a device context.
- rectPointer Rectangle
- A pointer to a structure.
- data IntPtr
- Application-defined data that
passes directly to the enumeration function.
Return Value
Boolean
See Also