GetMonitorInfo function user32

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

Retrieves information about a display monitor.

To learn more, see learn.microsoft.com/windows/win32/api/winuser/nf-winuser-getmonitorinfow.

Implementation

@pragma('vm:prefer-inline')
bool GetMonitorInfo(HMONITOR hMonitor, Pointer<MONITORINFO> lpmi) =>
    _GetMonitorInfo(hMonitor, lpmi) != FALSE;