1 out of 3 rated this helpful - Rate this topic

WmiSetBrightness method of the WmiMonitorBrightnessMethods class

The WmiSetBrightness method sets the display brightness of a computer monitor.

Syntax


uint32 WmiSetBrightness(
  uint64 Timeout,
  uint8 Brightness
);

Parameters

Timeout

Timeout, in seconds.

Brightness

Brightness, in percent.

Return value

Returns zero (0) to indicate success. Any other number indicates an error. For more information about error codes, see WMI Error Constants or WbemErrorEnum.

Requirements

Minimum supported client

Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2008 [desktop apps only]

Namespace

\root\wmi

MOF

Wmicore.mof

See also

WmiMonitorBrightnessMethods
MSMonitorClass

 

 

Send comments about this topic to Microsoft

Build date: 11/19/2012

Community Additions

ADD
© 2013 Microsoft. All rights reserved.