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 |
|
See also
Send comments about this topic to Microsoft
Build date: 11/19/2012
