MonitorEnumProc typedef Null safety

Int32 MonitorEnumProc (
  1. IntPtr hMonitor,
  2. IntPtr hDC,
  3. Pointer<NativeType> lpRect,
  4. IntPtr lParam
)

Application-defined callback function used with the EnumDisplayMonitors function. It receives display monitors in the calculated enumeration set.

Implementation

typedef MonitorEnumProc = Int32 Function(
    IntPtr hMonitor, IntPtr hDC, Pointer lpRect, IntPtr lParam);