MonitorFromRect function user32
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);