GetMonitorInfo (user32)
Last changed: -80.79.145.65

.
Summary

C# Signature:

[DllImport("user32.dll")]
static extern bool GetMonitorInfo(IntPtr hMonitor, out MONITORINFO lpmi);

User-Defined Types:

// 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;

}

Notes:

None.

Tips & Tricks:

Please add some!

Sample Code:

Please add some!

Alternative Managed API:

Do you know one? Please contribute it!

Documentation