I tried using WmiMonitorBrightness
class of the Windows Management Instrumentation but my system does not support it. I also tried changing gamma thru SetDeviceGammaRamp
API function but, meh..
Then I checked the power option in windows 10 if it has the brightness control slider and it has none which I suspect is connected to why WmiMonitorBrightness
does not work on my OS.
Finally, I found out that I can manually change the brightness thru the color setting of Intel HD Graphics control panel. Now I want to ask how to change screen brightness using code like how Intel does it. I am running my OS in an Intel Pentium N4200 microprocessor @ 1.10Ghz clockspeed and I use a touchscreen UI, if that matters.
edit: I found out that Intel HD Graphics control panel does not change the backlight brightness of panel but just the color brightness.