private _GetMonitorInfo ( |
||
hMonitor | ||
lpmi | [ | |
return | bool |
public static MONITORINFO GetMonitorInfo(IntPtr hMonitor) { MONITORINFO monitorinfo = new MONITORINFO(); if (!NativeMethods._GetMonitorInfo(hMonitor, monitorinfo)) { throw new Win32Exception(); } return(monitorinfo); }