CIM_VideoControllerResolution class
The CIM_VideoControllerResolution class represents the various video modes that a video controller can support. Video modes are defined by the possible horizontal and vertical resolutions, refresh rate, scan mode, and number of color settings supported by a controller. The actual resolutions in use are the values specified in the CIM_VideoController object.
Hardware that is not compatible with Windows Display Driver Model (WDDM) returns inaccurate property values for instances of this class.
Important
The DMTF (Distributed Management Task Force) CIM (Common Information Model) classes are the parent classes upon which WMI classes are built. WMI currently supports only the CIM 2.x version schemas.
The following syntax is simplified from Managed Object Format (MOF) code and includes all of its inherited properties. Properties are listed in alphabetic order, not MOF order.
Syntax
[Dynamic, Provider("CIMWin32"), UUID("{1008CCEA-7BFF-11D2-AAD2-006008C78BC7}"), AMENDMENT]
class CIM_VideoControllerResolution : CIM_Setting
{
string Caption;
string Description;
string SettingID;
uint32 HorizontalResolution;
uint32 MaxRefreshRate;
uint32 MinRefreshRate;
uint64 NumberOfColors;
uint32 RefreshRate;
uint16 ScanMode;
uint32 VerticalResolution;
};
Members
The CIM_VideoControllerResolution class has these types of members:
Properties
The CIM_VideoControllerResolution class has these properties.
-
Caption
-
-
Data type: string
-
Access type: Read-only
-
Qualifiers: MaxLen (64)
Short textual description of the current object.
This property is inherited from CIM_Setting.
-
-
Description
-
-
Data type: string
-
Access type: Read-only
Textual description of the current object.
This property is inherited from CIM_Setting.
-
-
HorizontalResolution
-
-
Data type: uint32
-
Access type: Read-only
-
Qualifiers: ModelCorrespondence ("CIM_VideoController.CurrentHorizontalResolution"), MappingStrings ("MIF.DMTF|Monitor Resolutions|002.2"), Units ("pixels")
Horizontal resolution, in pixels.
-
-
MaxRefreshRate
-
-
Data type: uint32
-
Access type: Read-only
-
Qualifiers: ModelCorrespondence ("CIM_VideoController.MaxRefreshRate"), MappingStrings ("MIF.DMTF|Monitor Resolutions|002.7"), Units ("hertz")
Maximum refresh rate when a range of rates is supported at the specified resolutions, in hertz.
-
-
MinRefreshRate
-
-
Data type: uint32
-
Access type: Read-only
-
Qualifiers: ModelCorrespondence ("CIM_VideoController.MinRefreshRate"), MappingStrings ("MIF.DMTF|Monitor Resolutions|002.6"), Units ("hertz")
Minimum refresh rate when a range of rates is supported at the specified resolutions, in hertz.
-
-
NumberOfColors
-
-
Data type: uint64
-
Access type: Read-only
-
Qualifiers: ModelCorrespondence ("CIM_VideoController.CurrentNumberOfColors")
Number of colors supported at the current resolution.
For more information about using uint64 values in scripts, see Scripting in WMI.
-
-
RefreshRate
-
-
Data type: uint32
-
Access type: Read-only
-
Qualifiers: ModelCorrespondence ("CIM_VideoController.CurrentRefreshRate"), MappingStrings ("MIF.DMTF|Monitor Resolutions|002.4"), Units ("hertz")
Refresh rate, in hertz. If a range of rates is supported, use the MinRefreshRate and MaxRefreshRate properties, and set this property to 0.
-
-
ScanMode
-
-
Data type: uint16
-
Access type: Read-only
-
Qualifiers: ModelCorrespondence ("CIM_VideoController.CurrentScanMode"), MappingStrings ("MIF.DMTF|Monitor Resolutions|002.5")
Scan mode at which the controller operates.
-
-
Other (1)
-
Unknown (2)
-
Not Supported (3)
-
Non-Interlaced Operation (4)
-
Noninterlaced operation
-
Interlaced Operation (5)
SettingID
An ID that serves as part of the key for the current instance.
VerticalResolution
-
Data type: uint32
-
Access type: Read-only
-
Qualifiers: ModelCorrespondence ("CIM_VideoController.CurrentVerticalResolution"), MappingStrings ("MIF.DMTF|Monitor Resolutions|002.3"), Units ("pixels")
Controller's vertical resolution, in pixels.
Remarks
WMI implements the CIM_VideoControllerResolution class. The CIM_VideoControllerResolution class is a dynamic class.
This documentation is derived from the CIM class descriptions published by the DMTF. Microsoft may have made changes to correct minor errors, conform to Microsoft SDK documentation standards, or provide more information.
Note that this class is a base class. If you are attempting to access your video controller through WMI, you may wish to use Win32_VideoController instead.
Requirements
Requirement | Value |
---|---|
Minimum supported client |
Windows Vista |
Minimum supported server |
Windows Server 2008 |
Namespace |
Root\CIMV2 |
MOF |
|
DLL |
|