C# Класс PInvoke.User32.MONITORINFOEX

Показать файл Открыть проект

Открытые свойства

Свойство Тип Описание
Flags uint
Monitor RECT
WorkArea RECT
cbSize int

Открытые методы

Метод Описание
Create ( ) : MONITORINFOEX

Описание методов

Create() публичный статический Метод

public static Create ( ) : MONITORINFOEX
Результат MONITORINFOEX

Описание свойств

Flags публичное свойство

The attributes of the display monitor.
This member can be the following value: 1 : MONITORINFOF_PRIMARY
public uint Flags
Результат uint

Monitor публичное свойство

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
Результат RECT

WorkArea публичное свойство

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
Результат RECT

cbSize публичное свойство

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
Результат int