Win32_VideoConfiguration class

[The Win32_VideoConfiguration class is no longer available for use as of Windows XP; attempts to use it will generate a fatal error. Instead, use the properties contained in the Win32_VideoController, Win32_DesktopMonitor, and CIM_VideoControllerResolution classes.]

Represents a configuration of a video subsystem.

The following syntax is simplified from Managed Object Format (MOF) code and includes all of the inherited properties. Properties are listed in alphabetic order, not MOF order.

Syntax

class Win32_VideoConfiguration : CIM_Setting
{
  uint32   ActualColorResolution;
  string   AdapterChipType;
  string   AdapterCompatibility;
  string   AdapterDACType;
  string   AdapterDescription;
  uint32   AdapterRAM;
  string   AdapterType;
  uint32   BitsPerPixel;
  string   Caption;
  uint32   ColorPlanes;
  uint32   ColorTableEntries;
  string   Description;
  uint32   DeviceSpecificPens;
  datetime DriverDate;
  uint32   HorizontalResolution;
  string   InfFilename;
  string   InfSection;
  string   InstalledDisplayDrivers;
  string   MonitorManufacturer;
  string   MonitorType;
  string   Name;
  uint32   PixelsPerXLogicalInch;
  uint32   PixelsPerYLogicalInch;
  uint32   RefreshRate;
  string   ScanMode;
  uint32   ScreenHeight;
  uint32   ScreenWidth;
  string   SettingID;
  uint32   SystemPaletteEntries;
  uint32   VerticalResolution;
};

Members

The Win32_VideoConfiguration class has these types of members:

  • Properties

Properties

The Win32_VideoConfiguration class has these properties.

ActualColorResolution

Data type: uint32

Access type: Read-only

Qualifiers: Units (Bits Per Pixel) , Deprecated

Current color depth of the video display.

AdapterChipType

Data type: string

Access type: Read-only

Qualifiers: Deprecated

Name of the adapter chip.

Example: "s3"

AdapterCompatibility

Data type: string

Access type: Read-only

Qualifiers: Key, Deprecated, MaxLen (256)

Name of the manufacturer of the adapter. This name can be used to compare the compatibility of this device with the needs of the computer system.

AdapterDACType

Data type: string

Access type: Read-only

Qualifiers: Deprecated

Name of the digital-to-analog chip (DAC) used in the adapter.

AdapterDescription

Data type: string

Access type: Read-only

Qualifiers: Deprecated

Description or descriptive name of the video adapter.

AdapterRAM

Data type: uint32

Access type: Read-only

Qualifiers: Units (Bytes) , Deprecated

Memory size of the video adapter.

Example: 16777216

AdapterType

Data type: string

Access type: Read-only

Qualifiers: Deprecated

Type of video adapter. The character set of this property is alphanumeric.

BitsPerPixel

Data type: uint32

Access type: Read-only

Qualifiers: Deprecated

Actual number of bits per pixel representing the display. This may be scaled to the current video setting (represented by the ActualColorResolution property) of the user.

Example: 8

Caption

Data type: string

Access type: Read-only

Qualifiers: MaxLen (64)

Short description of the CIM_Setting object. This property is inherited from CIM_Setting.

ColorPlanes

Data type: uint32

Access type: Read-only

Qualifiers: Deprecated

Current number of color planes used in the video display. A color plane is another way to represent pixel colors; instead of assigning a single RGB value to each a pixel, color planes separate the graphic into each of the primary color components (red, green, and blue), and store them in their own planes. This allows for greater color depths on 8 bit and 16 bit video systems. Present graphics systems have the bitwidth large enough to stores color depth information, making only one color plane necessary.

Example: 1

ColorTableEntries

Data type: uint32

Access type: Read-only

Qualifiers: Deprecated

Number of color indexes in a color table for a video display. This property is used if the device has a color depth of no more than 8 bits per pixel. For devices with greater color depths, -1 is returned.

Example: 256

Description

Data type: string

Access type: Read-only

Description of the CIM_Setting object. This property is inherited from CIM_Setting.

DeviceSpecificPens

Data type: uint32

Access type: Read-only

Qualifiers: Deprecated

Current number of device-specific pens. A value of 0xFFFFFFFF means the device does not support pens. Pens are used to draw lines and the borders of polygonal objects.

Example: 3

DriverDate

Data type: datetime

Access type: Read-only

Qualifiers: Deprecated

Date and time the current video driver was installed.

HorizontalResolution

Data type: uint32

Access type: Read-only

Qualifiers: Deprecated

Current number of pixels in the horizontal direction (x-axis) of the display.

Example: 1024

InfFilename

Data type: string

Access type: Read-only

Qualifiers: Deprecated

Path to the .inf file of the video driver.

InfSection

Data type: string

Access type: Read-only

Qualifiers: Deprecated

Section of the .inf file where the Windows video information resides.

InstalledDisplayDrivers

Data type: string

Access type: Read-only

Qualifiers: Deprecated

Name of the installed video driver.

MonitorManufacturer

Data type: string

Access type: Read-only

Qualifiers: Deprecated

Name of the manufacturer of the display device.

Example: "NEC"

MonitorType

Data type: string

Access type: Read-only

Qualifiers: Deprecated

Model name of the display device.

Example: "NEC 5FGp"

Name

Data type: string

Access type: Read-only

Qualifiers: Key, Deprecated, MaxLen (256)

Identifying name for the video configuration class.

PixelsPerXLogicalInch

Data type: uint32

Access type: Read-only

Qualifiers: Deprecated

Number of pixels per logical inch along the x-axis (horizontal direction) of the display.

PixelsPerYLogicalInch

Data type: uint32

Access type: Read-only

Qualifiers: Deprecated

Number of pixels per logical inch along the y-axis (vertical direction) of the display.

RefreshRate

Data type: uint32

Access type: Read-only

Qualifiers: Deprecated

Refresh rate of the video configuration. A value of 0 (zero) or 1 (one) indicates a default rate is being used.

Example: 72

ScanMode

Data type: string

Access type: Read-only

Qualifiers: Deprecated

Interlace mode of the display device.

The values are:

"Interlaced"

"Non Interlaced"

ScreenHeight

Data type: uint32

Access type: Read-only

Qualifiers: Deprecated, Units (Millimeters)

Height of the physical screen.

ScreenWidth

Data type: uint32

Access type: Read-only

Qualifiers: Deprecated, Units (Millimeters)

Width of the physical screen.

SettingID

Data type: string

Access type: Read-only

Qualifiers: MaxLen (256)

Identifier by which the CIM_Setting object is known. This property is inherited from CIM_Setting.

SystemPaletteEntries

Data type: uint32

Access type: Read-only

Qualifiers: Deprecated

Current number of color index entries reserved for system use. This value is only valid for display settings that use an indexed palette. Indexed palettes are not used for color depths greater than 8 bits per pixel. If the color depth is more than 8 bits per pixel, this value is set to NULL.

Example: 20

VerticalResolution

Data type: uint32

Access type: Read-only

Qualifiers: Deprecated

Current number of pixels in the vertical direction (y-axis) of the display.

Example: 768

Remarks

The Win32_VideoConfiguration class is derived from CIM_Setting.

Examples

For script code examples, see WMI Tasks for Scripts and Applications and the TechNet ScriptCenter Script Repository.

For C++ code examples, see WMI C++ Application Examples.

Requirements

Minimum supported client

Windows XP

Minimum supported server

Windows Server 2003

End of client support

Windows XP

End of server support

Windows Server 2003

Namespace

\root\CIMV2

MOF

CIMWin32.mof

DLL

CIMWin32.dll

See also

Computer System Hardware Classes