Adjust screen brightness

Hi All,

I want to adjust screen brightness.
I found in NOTE book,OS release this option,in Control Panel->Appearance and Personalization->Dispaly.

But in Desktop PC,I can not found this option.
Still I can use SetDeviceGammaRamp and GetDeviceGammaRamp(gdi32.dll API) to adjust screen brightness.
I used SetDeviceGammaRamp and GetDeviceGammaRamp in Note book,and found it can also adjust screen brightness.

I found Note book “Control Panel->Appearance and Personalization->Dispaly->adjust screen brightness”
is not related with “SetDeviceGammaRamp and GetDeviceGammaRamp”.
My question is that:
How Note book “Control Panel->Appearance and Personalization->Dispaly->adjust screen brightness” realize?which API it used?

Any help is appreciated.Thanks.

Best Regards
Zhou ChengJun

Hi Zhou,

Take a look at the monitor configuration API:

https://msdn.microsoft.com/en-us/library/windows/desktop/dd692982(v=vs.85).aspx

You should also download the Display Data Channel and VESA Monitor Command Control Set documentation.

Hope this helps.

Eugenio Barahona

Thanks.
I found in Note book , this method is OK.
But in in Desktop PC,this method can not wroks.

I found in Note book , this method (the monitor configuration API)is OK.
But in in Desktop PC,this method can not works.

xxxxx@yahoo.com.cn wrote:

I want to adjust screen brightness.
I found in NOTE book,OS release this option,in Control Panel->Appearance and Personalization->Dispaly.

Just as a side note, remember that there are two different physical
operations at work here. You can affect the screen brightness by
adjusting the pixel values on the screen, or you can affect the screen
brightness by adjusting the backlight, and I suspect it is the latter
that you’re looking for. Those are two different operations that are
accessed through two very different avenues. On a desktop system, for
example, there is no guarantee that the backlight brightness can be
adjusted at all from the PC. The monitor might only allow that
adjustment through the front panel buttons.


Tim Roberts, xxxxx@probo.com
Providenza & Boekelheide, Inc.

notebooks have hardware (ACPI) access methods for display’s that a desktop
just isn’t going to have, as the display on a desktop is just a connector
(e.g. HDMI) and not a bunch of hardware integrated into the platform.

Mark Roddy

On Tue, Apr 5, 2016 at 10:52 PM, wrote:

> I found in Note book , this method (the monitor configuration API)is OK.
> But in in Desktop PC,this method can not works.
>
> —
> NTDEV is sponsored by OSR
>
> Visit the list online at: <
> http://www.osronline.com/showlists.cfm?list=ntdev&gt;
>
> MONTHLY seminars on crash dump analysis, WDF, Windows internals and
> software drivers!
> Details at http:
>
> To unsubscribe, visit the List Server section of OSR Online at <
> http://www.osronline.com/page.cfm?name=ListServer&gt;
></http:>