WmiMonitorID class
Applies to: desktop apps only
The WmiMonitorID WMI class represents the identifying information about a video monitor, such as manufacturer name, year of manufacture, or serial number. The data in this class correspond to data in the Vendor/Product Identification block of Video Input Definition of the Video Electronics Standard Association (VESA) Enhanced Extended Display Identification Data (E-EDID) standard.
Syntax
class WmiMonitorID : MSMonitorClass
{
boolean Active;
string InstanceName;
uint16 ManufacturerName[];
uint16 ManufacturerNameLength;
uint16 ProductCodeID[];
uint32 SerialNumberID[];
uint8 WeekOfManufacture;
uint16 YearOfManufacture;
uint16 UserFriendlyName;
uint16 UserFriendlyNameLength;
};
Members
The WmiMonitorID class has these types of members:
Properties
The WmiMonitorID class has these properties.
- Active
-
- Data type: boolean
- Access type: Read-only
Indicates the active monitor.
- InstanceName
-
- Data type: string
- Access type: Read-only
- Qualifiers: Key
Name of the specific monitor instance.
- ManufacturerName
-
- Data type: uint16 array
- Access type: Read-only
Name of manufacturer.
- ManufacturerNameLength
-
- Data type: uint16
- Access type: Read-only
Length of manufacturer name located in the ManufacturerName property.
- ProductCodeID
-
- Data type: uint16 array
- Access type: Read-only
Vendor assigned product code ID.
- SerialNumberID
-
- Data type: uint32 array
- Access type: Read-only
Serial number.
- UserFriendlyName
-
- Data type: uint16
- Access type: Read-only
The friendly name of the monitor. The size of the name is the length specified by the UserFriendlyNameLength property.
- UserFriendlyNameLength
-
- Data type: uint16
- Access type: Read-only
Number of characters in the name located in the UserFriendlyName property.
- WeekOfManufacture
-
- Data type: uint8
- Access type: Read-only
Week of manufacture by week number. The range is from 1 through 53. Zero (0) is undefined.
- YearOfManufacture
-
- Data type: uint16
- Access type: Read-only
Year of manufacture.
Requirements
|
Minimum supported client | Windows Vista |
|---|---|
|
Minimum supported server | Windows Server 2008 |
|
Namespace |
\root\wmi |
|
MOF |
|
See also
Send comments about this topic to Microsoft
Build date: 3/9/2012