Upravit

Sdílet prostřednictvím


SystemConfig_Video class

This class is the event type class for video configuration events.

The following syntax is simplified from MOF code.

Syntax

[EventType(14), EventTypeName("Video")]
class SystemConfig_Video : SystemConfig
{
  uint32 MemorySize;
  uint32 XResolution;
  uint32 YResolution;
  uint32 BitsPerPixel;
  uint32 VRefresh;
  char16 ChipType[];
  char16 DACType[];
  char16 AdapterString[];
  char16 BiosString[];
  char16 DeviceId[];
  uint32 StateFlags;
};

Members

The SystemConfig_Video class has these types of members:

Properties

The SystemConfig_Video class has these properties.

AdapterString

Data type: char16 array

Access type: Read-only

Qualifiers: WmiDataId (8), Max (256), Format("s")

Name or description of the adapter.

BiosString

Data type: char16 array

Access type: Read-only

Qualifiers: WmiDataId (9), Max (256), Format("s")

BIOS name of the adapter.

BitsPerPixel

Data type: uint32

Access type: Read-only

Qualifiers: WmiDataId (4)

Number of bits used to display each pixel.

ChipType

Data type: char16 array

Access type: Read-only

Qualifiers: WmiDataId (6), Max (256), Format("s")

Chip name of the adapter.

DACType

Data type: char16 array

Access type: Read-only

Qualifiers: WmiDataId (7), Max (256), Format("s")

Digital-to-analog converter (DAC) chip name of the adapter.

DeviceId

Data type: char16 array

Access type: Read-only

Qualifiers: WmiDataId (10), Max (256), Format("s")

Address or other identifying information to uniquely name the logical device.

MemorySize

Data type: uint32

Access type: Read-only

Qualifiers: WmiDataId (1)

Maximum amount of memory supported, in bytes.

StateFlags

Data type: uint32

Access type: Read-only

Qualifiers: WmiDataId (11), Format("x")

Device state flags. It can be any reasonable combination of the following.

Value Meaning
DISPLAY_DEVICE_ATTACHED_TO_DESKTOP
1 (0x1)
The device is part of the desktop.
DISPLAY_DEVICE_MIRRORING_DRIVER
8 (0x8)
Represents a pseudo device used to mirror application drawing for connecting to a remote computer or other purposes. An invisible pseudo monitor is associated with this device. For example, NetMeeting uses it.
DISPLAY_DEVICE_MODESPRUNED
134217728 (0x8000000)
The device has more display modes than its output devices support.
DISPLAY_DEVICE_PRIMARY_DEVICE
4 (0x4)
The primary desktop is on the device. For a system with a single display card, this is always set. For a system with multiple display cards, only one device can have this set.
DISPLAY_DEVICE_REMOVABLE
32 (0x20)
The device is removable; it cannot be the primary display.
DISPLAY_DEVICE_VGA_COMPATIBLE
16 (0x10)
The device is VGA compatible.

 

VRefresh

Data type: uint32

Access type: Read-only

Qualifiers: WmiDataId (5)

Current refresh rate, in hertz.

XResolution

Data type: uint32

Access type: Read-only

Qualifiers: WmiDataId (2)

Current number of horizontal pixels.

YResolution

Data type: uint32

Access type: Read-only

Qualifiers: WmiDataId (3)

Current number of vertical pixels.

Requirements

Requirement Value
Minimum supported client
Windows Vista [desktop apps only]
Minimum supported server
Windows Server 2008 [desktop apps only]

See also

SystemConfig