MonitorFromRect function user32

int MonitorFromRect(
  1. Pointer<RECT> lprc,
  2. int dwFlags
)

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

HMONITOR MonitorFromRect(
  LPCRECT lprc,
  DWORD   dwFlags
);

Implementation

int MonitorFromRect(Pointer<RECT> lprc, int dwFlags) =>
    _MonitorFromRect(lprc, dwFlags);