Reference for Win32_VideoConfiguration
|
|
Category (Kategorie): Video and Sound
Description (Beschreibung): The Win32_VideoConfiguration WMI class represents a configuration of a video subsystem.
Note Warning This class has been eliminated from Windows XP and later; attempts to use it will generate a fatal error. In place of this class, you should use the properties contained in the Win32_VideoController, Win32_DesktopMonitor, and CIM_VideoControllerResolution classes.
Availability (Verfügbarkeit): WMI Class Name | Windows Server 2003 | Windows XP Professional | Windows 2000 | Windows NT 4.0 | Windows 98 | Win32_VideoConfiguration | - | - | Yes | Yes | Yes |
Sample Code (Beispiel):
strComputer = "."
Set objWMIService = GetObject("winmgmts:\\" & strComputer & "\root\cimv2")
Set colItems = objWMIService.ExecQuery("Select * from Win32_VideoConfiguration")
For Each objItem in colItems
Wscript.Echo "Caption: " & objItem.Caption
Next
Links:
Link zur Original-Microsoft-Dokumentation
www.IT-Visions.de, (C) Dr. Holger Schwichtenberg
|