[DllImport("user32.dll")]
static extern bool GetMonitorInfo(IntPtr hMonitor, out MONITORINFO lpmi);
// size of a device name string
public const int CCHDEVICENAME = 32;
public struct MONITORINFOEX
{
public uint cbSize;
public RECT rcMonitor;
public RECT rcWork;
public uint dwFlags;
[MarshalAs(UnmanagedType.ByValArray, SizeConst = CCHDEVICENAME)]
public string[] szDevice;
}
None.
Please add some!
Please add some!
Do you know one? Please contribute it!