public static Standard.MONITORINFO GetMonitorInfo(IntPtr hMonitor) { Standard.MONITORINFO lpmi = new Standard.MONITORINFO(); if (!_GetMonitorInfo(hMonitor, lpmi)) { throw new Win32Exception(); } return(lpmi); }
private static extern bool _GetMonitorInfo(IntPtr hMonitor, [In, Out] Standard.MONITORINFO lpmi);