C# Class PInvoke.User32.MONITORINFOEX

ファイルを表示 Open project: AArnott/pinvoke

Public Properties

Property Type Description
Flags uint
Monitor RECT
WorkArea RECT
cbSize int

Public Methods

Method Description
Create ( ) : MONITORINFOEX

Method Details

Create() public static method

public static Create ( ) : MONITORINFOEX
return MONITORINFOEX

Property Details

Flags public_oe property

The attributes of the display monitor.
This member can be the following value: 1 : MONITORINFOF_PRIMARY
public uint Flags
return uint

Monitor public_oe property

A RECT structure that specifies the display monitor rectangle, expressed in virtual-screen coordinates. Note that if the monitor is not the primary display monitor, some of the rectangle's coordinates may be negative values.
public RECT,PInvoke Monitor
return RECT

WorkArea public_oe property

A RECT structure that specifies the work area rectangle of the display monitor that can be used by applications, expressed in virtual-screen coordinates. Windows uses this rectangle to maximize an application on the monitor. The rest of the area in rcMonitor contains system windows such as the task bar and side bars. Note that if the monitor is not the primary display monitor, some of the rectangle's coordinates may be negative values.
public RECT,PInvoke WorkArea
return RECT

cbSize public_oe property

The size, in bytes, of the structure. Set this member to sizeof(MONITORINFOEX) (72) before calling the GetMonitorInfo function. Doing so lets the function determine the type of structure you are passing to it.
public int cbSize
return int