Desktop Functions: Smart Device Functions:
|
Search Results for "monitorinfo" in [All]user32
MonitorInfo mi = new MonitorInfo();
bool success = GetMonitorInfo(hMonitor, ref mi);
static extern bool GetMonitorInfo(IntPtr hMonitor, ref MONITORINFOEX lpmi);
static extern bool GetMonitorInfo(IntPtr hMonitor, ref MONITORINFO lpmi);
MONITORINFOEX mon_info = new MONITORINFOEX();
GetMonitorInfo(hMonitor, ref mon_info); 3: MONITORINFO The MONITORINFOEX structure contains information about a display monitor. The GetMonitorInfo function stores information into a MONITORINFOEX structure or a MONITORINFO structure. The MONITORINFOEX structure is a superset of the MONITORINFO structure. The MONITORINFOEX structure adds a string member to contain a name for the display monitor.
/// The MONITORINFOEX structure contains information about a display monitor.
/// The GetMonitorInfo function stores information into a MONITORINFOEX structure or a MONITORINFO structure.
/// The MONITORINFOEX structure is a superset of the MONITORINFO structure. The MONITORINFOEX structure adds a string member to contain a name
internal struct MonitorInfoEx
/// The size, in bytes, of the structure. Set this member to sizeof(MONITORINFOEX) (72) before calling the GetMonitorInfo function.
/// 1 : MONITORINFOF_PRIMARY
/// and so can save some bytes by using a MONITORINFO structure. If the monitor is the primary monitor the flag will be set too MONITORINFOF_PRIMARY. The declaration for MONITORINFOF_PRIMARY is const uint MONITORINFOF_PRIMARY = 1; Set cbSize to 104 before using MonitorInfoEx The MONITORINFOEX structure contains information about a display monitor. The GetMonitorInfo function stores information into a MONITORINFOEX structure or a MONITORINFO structure. The MONITORINFOEX structure is a superset of the MONITORINFO structure. The MONITORINFOEX structure adds a string member to contain a name for the display monitor.
/// The MONITORINFOEX structure contains information about a display monitor.
/// The GetMonitorInfo function stores information into a MONITORINFOEX structure or a MONITORINFO structure.
/// The MONITORINFOEX structure is a superset of the MONITORINFO structure. The MONITORINFOEX structure adds a string member to contain a name
internal struct MonitorInfoEx
/// The size, in bytes, of the structure. Set this member to sizeof(MONITORINFOEX) (72) before calling the GetMonitorInfo function.
/// 1 : MONITORINFOF_PRIMARY
/// and so can save some bytes by using a MONITORINFO structure. If the monitor is the primary monitor the flag will be set too MONITORINFOF_PRIMARY. The declaration for MONITORINFOF_PRIMARY is const uint MONITORINFOF_PRIMARY = 1; Set cbSize to 72 before using MonitorInfoEx shell32
/// working area available to your application—, use the GetMonitorInfo function. |