WmiMonitorBrightnessEvent class

The WmiMonitorBrightnessEvent WMI event class represents a change in the brightness of a monitor.

Syntax

class WmiMonitorBrightnessEvent : WMIEvent
{
  boolean Active;
  uint8   Brightness;
  string  InstanceName;
};

Members

The WmiMonitorBrightnessEvent class has these types of members:

Properties

The WmiMonitorBrightnessEvent class has these properties.

Active

Data type: boolean

Access type: Read-only

Indicates the active monitor.

Brightness

Data type: uint8

Access type: Read-only

Current monitor brightness as a percentage.

InstanceName

Data type: string

Access type: Read-only

Qualifiers: Key

Name of the specific monitor instance.

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

WmiMonitorBrightness

Receiving a WMI Event