VideoModeDescriptor class

The VideoModeDescriptorVideo WMI class contains mode descriptor elements for the MonitorSourceModes array in the WmiMonitorListedSupportedSourceModes class. These elements include monitor features such as refresh rate, pixel characteristics, or image size. The VideoModeDescriptorVideo class contains information that is a superset of the data available from established, standard, and detailed timing blocks.

Syntax

class VideoModeDescriptor : WmiMonitorSupportedVideoModes
{
  uint8   CompositePolarityType;
  uint16  HorizontalActivePixels;
  uint16  HorizontalBlankingPixels;
  uint16  HorizontalBorder;
  uint16  HorizontalImageSize;
  uint8   HorizontalPolarityType;
  uint16  HorizontalRefreshRateDenominator;
  uint16  HorizontalRefreshRateNumerator;
  uint16  HorizontalSyncOffset;
  uint16  HorizontalSyncPulseWidth;
  boolean IsInterlaced;
  uint8   IsSerrationRequired;
  uint8   IsSyncOnRGB;
  uint32  PixelClockRate;
  uint8   StereoModeType;
  uint8   SyncSignalType;
  uint16  VerticalActivePixels;
  uint16  VerticalBlankingPixels;
  uint16  VerticalBorder;
  uint16  VerticalImageSize;
  uint16  VerticalRefreshRateDenominator;
  uint16  VerticalRefreshRateNumerator;
  uint16  VerticalSyncOffset;
  uint8   VerticalPolarityType;
  uint16  VerticalSyncPulseWidth;
  uint8   VideoStandardType;
};

Members

The VideoModeDescriptor class has these types of members:

Properties

The VideoModeDescriptor class has these properties.

CompositePolarityType

Data type: uint8

Access type: Read-only

Composite polarity type. This is polarity of horizontal sync pulses outside of vertical sync.

Value Meaning
0 (0x0)
Composite polarity is positive.
1 (0x1)
Composite polarity is negative.
2 (0x2)
Not applicable. The signal sync type must be digital composite.

HorizontalActivePixels

Data type: uint16

Access type: Read-only

Number of horizontally active pixels.

HorizontalBlankingPixels

Data type: uint16

Access type: Read-only

Number of horizontally blanking pixels

HorizontalBorder

Data type: uint16

Access type: Read-only

Horizontal border.

HorizontalImageSize

Data type: uint16

Access type: Read-only

Horizontal image size in millimeters (mm).

HorizontalPolarityType

Data type: uint8

Access type: Read-only

Horizontal polarity type.

Value Meaning
0 (0x0)
Horizontal polarity is positive.
1 (0x1)
Horizontal polarity is negative.
2 (0x2)
Not applicable. The signal sync type must be digital separate.

HorizontalRefreshRateDenominator

Data type: uint16

Access type: Read-only

Horizontal refresh rate denominator.

HorizontalRefreshRateNumerator

Data type: uint16

Access type: Read-only

Horizontal refresh rate numerator in Hertz (Hz).

HorizontalSyncOffset

Data type: uint16

Access type: Read-only

Horizontal sync offset.

HorizontalSyncPulseWidth

Data type: uint16

Access type: Read-only

Horizontal sync pulse width.

IsInterlaced

Data type: boolean

Access type: Read-only

Indicates whether the display mode is interlaced.

IsSerrationRequired

Data type: uint8

Access type: Read-only

Indicates what type of serration is required, if appropriate.

Value Meaning
0 (0x0)
Controller shall supply horizontal sync during vertical sync.
1 (0x1)
Controller shall not supply horizontal sync during vertical sync.
2 (0x2)
Not applicable. The signal sync type must be bipolar, analog composite, or digital composite.

IsSyncOnRGB

Data type: uint8

Access type: Read-only

Indicates which video signal lines should be synchronized, if appropriate.

Value Meaning
0 (0x0)
Sync pulse should appear on all 3 video signal lines.
1 (0x1)
Sync pulse should only appear on the green video signal line.
2 (0x2)
Not applicable. The signal sync type must be bipolar analog composite.

PixelClockRate

Data type: uint32

Access type: Read-only

Pixel clock rate in Hertz (Hz).

StereoModeType

Data type: uint8

Access type: Read-only

Stereo mode type. The following table lists the possible values.

Value Meaning
0 (0x0)
No stereo.
1 (0x1)
Field sequential stereo with right image on stereo sync.
2 (0x2)
Field sequential stereo with left image on stereo sync.
3 (0x3)
2-way Interleaved Stereo with Right Image on Even Lines.
4 (0x4)
2-way Interleaved Stereo with Left Image on Even Lines.
5 (0x5)
4-way Interleaved Stereo.
6 (0x6)
Side-by-Side Interleaved Stereo.

SyncSignalType

Data type: uint8

Access type: Read-only

Signal sync type. The following table lists the possible values.

Value Meaning
0 (0x0)
Analog Composite
1 (0x1)
Bipolar Analog Composite
2 (0x2)
Digital Composite
3 (0x3)
Digital Separate

VerticalActivePixels

Data type: uint16

Access type: Read-only

Number of vertically active pixels.

VerticalBlankingPixels

Data type: uint16

Access type: Read-only

Number of vertically blanking pixels.

VerticalBorder

Data type: uint16

Access type: Read-only

Vertical border.

VerticalImageSize

Data type: uint16

Access type: Read-only

Vertical image size in millimeters (mm).

VerticalPolarityType

Data type: uint8

Access type: Read-only

Vertical polarity type.

Value Meaning
0 (0x0)
Vertical polarity is positive.
1 (0x1)
Vertical polarity is negative
2 (0x2)
Not applicable. The signal sync type must be digital separate.

VerticalRefreshRateDenominator

Data type: uint16

Access type: Read-only

Vertical refresh rate denominator.

VerticalRefreshRateNumerator

Data type: uint16

Access type: Read-only

Vertical refresh rate numerator in Hertz (Hz).

VerticalSyncOffset

Data type: uint16

Access type: Read-only

Vertical sync offset.

VerticalSyncPulseWidth

Data type: uint16

Access type: Read-only

Vertical sync pulse width.

VideoStandardType

Data type: uint8

Access type: Read-only

Video standard type.

Value Meaning
0 (0x0)
Other
1 (0x1)
VESA DMT. From Video Electronics Standard Association (VESA) Display Monitor Timings specification.
2 (0x2)
VESA GTF. From VESA Generalized Timing Formula standard.
3 (0x3)
VESA CVT/ From VESA Coordinated Video Timings standard.
4 (0x4)
IBM
5 (0x5)
APPLE
6 (0x6)
NTSC M
7 (0x7)
NTSC J
8 (0x8)
NTSC 433
9 (0x9)
PAL B
10 (0xA)
PAL B1
11 (0xB)
PAL G
12 (0xC)
PAL H
13 (0xD)
PAL I
14 (0xE)
PAL D
15 (0xF)
PAL N
16 (0x10)
PAL NC
17 (0x11)
SECAM B
18 (0x12)
SECAM D
19 (0x13)
SECAM G
20 (0x14)
SECAM H
21 (0x15)
SECAM K
22 (0x16)
SECAM K1
23 (0x17)
SECAM L
24 (0x18)
SECAM L1
25 (0x19)
EIA861
26 (0x1A)
EIA861A
27 (0x1B)
EIA861B

Requirements

Requirement Value
Minimum supported client
Windows Vista
Minimum supported server
Windows Server 2008
Namespace
Root\wmi
MOF
WmiCore.mof
DLL
WmiProv.dll

See also

MSMonitorClass