SystemConfig_V0_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_V0_Video : SystemConfig_V0
{
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_V0_Video class has these types of members:
Properties
The SystemConfig_V0_Video class has these properties.
-
AdapterString
-
-
Data type: char16 array
-
Access type: Read-only
-
Qualifiers: WmiDataId (8), Max (256)
Name or description of the adapter.
-
-
BiosString
-
-
Data type: char16 array
-
Access type: Read-only
-
Qualifiers: WmiDataId (9), Max (256)
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)
Chip name of the adapter.
-
-
DACType
-
-
Data type: char16 array
-
Access type: Read-only
-
Qualifiers: WmiDataId (7), Max (256)
Digital-to-analog converter (DAC) chip name of the adapter.
-
-
DeviceId
-
-
Data type: char16 array
-
Access type: Read-only
-
Qualifiers: WmiDataId (10), Max (256)
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)
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 |
None supported |
Minimum supported server |
Windows Server 2003 [desktop apps only] |
See also