Group: Monitor Configuration (Vista) - Library: dxva2
How to adjust monitor brightness (Vista, monitor with DDC support)
BOOL SetMonitorBrightness(
HANDLE hMonitor,
DWORD dwNewBrightness
); DECLARE INTEGER SetMonitorBrightness IN dxva2;
INTEGER hMonitor,;
LONG dwNewBrightness hMonitor [in] Handle to a physical monitor. To get the monitor handle, call GetPhysicalMonitorsFromHMONITOR or GetPhysicalMonitorsFromIDirect3DDevice9.
dwNewBrightness [in] Brightness value. To get the monitor"s minimum and maximum brightness values, call GetMonitorBrightness.
If the function succeeds, the return value is nonzero.
If this function is supported, the GetMonitorCapabilities function returns the MC_CAPS_BRIGHTNESS flag.
See also: GetMonitorBrightness.
Home