MonitorFromPoint function Null safety user32

int MonitorFromPoint(
  1. POINT pt,
  2. int dwFlags
)

The MonitorFromPoint function retrieves a handle to the display monitor that contains a specified point.

HMONITOR MonitorFromPoint(
  POINT pt,
  DWORD dwFlags
);

Implementation

int MonitorFromPoint(POINT pt, int dwFlags) => _MonitorFromPoint(pt, dwFlags);