SetMonitorBrightness function dxva2

int SetMonitorBrightness(
  1. int hMonitor,
  2. int dwNewBrightness
)

Sets a monitor's brightness value. Increasing the brightness value makes the display on the monitor brighter, and decreasing it makes the display dimmer.

_BOOL SetMonitorBrightness(
  HANDLE hMonitor,
  DWORD  dwNewBrightness
);

Implementation

int SetMonitorBrightness(int hMonitor, int dwNewBrightness) =>
    _SetMonitorBrightness(hMonitor, dwNewBrightness);