Group: Monitor Configuration (Vista) - Library: dxva2
How to adjust monitor brightness (Vista, monitor with DDC support)
BOOL GetMonitorBrightness(
HANDLE hMonitor,
LPDWORD pdwMinimumBrightness,
LPDWORD pdwCurrentBrightness,
LPDWORD pdwMaximumBrightness
); DECLARE INTEGER GetMonitorBrightness IN dxva2;
INTEGER hMonitor,;
LONG @pdwMinimumBrightness,;
LONG @pdwCurrentBrightness,;
LONG @pdwMaximumBrightness hMonitor [in] Handle to a physical monitor. To get the monitor handle, call GetPhysicalMonitorsFromHMONITOR or GetPhysicalMonitorsFromIDirect3DDevice9.
pdwMinimumBrightness [out] Receives the monitor"s minimum brightness.
pdwCurrentBrightness [out] Receives the monitor"s current brightness.
pdwMaximumBrightness [out] Receives the monitor"s maximum brightness.
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: SetMonitorBrightness.
Home