What winapi's are there to change the screen's brightness?
I've been attempting to look for an example or API I can use for Delphi but have not found anything.
What winapi's are there to change the screen's brightness?
I've been attempting to look for an example or API I can use for Delphi but have not found anything.
Starting with Windows Vista you can use the
GetMonitorBrightness
andSetMonitorBrightness
functions.Another option is use the
WmiSetBrightness
method of theWmiMonitorBrightnessMethods
WMI Class.Note: These functions are supported if the GetMonitorCapabilities function returns the MC_CAPS_BRIGHTNESS flag.