GetMonitorInfo function Null safety user32

int GetMonitorInfo(
  1. int hMonitor,
  2. Pointer<MONITORINFO> lpmi
)

The GetMonitorInfo function retrieves information about a display monitor.

BOOL GetMonitorInfoW(
  HMONITOR      hMonitor,
  LPMONITORINFO lpmi
);

Implementation

int GetMonitorInfo(int hMonitor, Pointer<MONITORINFO> lpmi) =>
    _GetMonitorInfo(hMonitor, lpmi);