WmiMonitorListedSupportedSourceModes 类

WmiMonitorListedSupportedSourceModes 在其监视器描述符中列出视频监视器支持的源模式(如果存在)。 对于没有说明的监视器,根据监视器总线驱动程序指定的监视器类型生成此模式列表。

语法

class WmiMonitorListedSupportedSourceModes : MSMonitorClass
{
  boolean             Active;
  string              InstanceName;
  uint16              NumOfMonitorSourceModes;
  uint16              PreferredMonitorSourceModeIndex;
  VideoModeDescriptor MonitorSourceModes[];
};

成员

WmiMonitorListedSupportedSourceModes 类具有以下类型的成员:

属性

WmiMonitorListedSupportedSourceModes 类具有这些属性。

活动

数据类型: 布尔值

访问类型:只读

指示活动监视器。

InstanceName

数据类型: 字符串

访问类型:只读

限定符:

特定监视器实例的名称。

MonitorSourceModes

数据类型: VideoModeDescriptor 数组

访问类型:只读

列出由 VideoModeDescriptor 类的实例表示的监视源模式。

NumOfMonitorSourceModes

数据类型: uint16

访问类型:只读

列出的受支持监视器源模式的数目。

PreferredMonitorSourceModeIndex

数据类型: uint16

访问类型:只读

首选监视器源模式索引。

要求

要求
最低受支持的客户端
Windows Vista
最低受支持的服务器
Windows Server 2008
命名空间
Root\wmi
MOF
WmiCore.mof
DLL
WmiProv.dll

另请参阅

MSMonitorClass