 |
SetMonitorBrightness ..msdn Add comment W32 Constants Translate this page |
 |
 |
|
Sets a monitor"s brightness value. |
 |
 |
| Code examples: |
 |
|
|
 |
 |
| Declaration: |
 |
 |
BOOL SetMonitorBrightness(
HANDLE hMonitor,
DWORD dwNewBrightness
);
|
 |
 |
 |
| FoxPro declaration: |
 |
 |
DECLARE INTEGER SetMonitorBrightness IN dxva2;
INTEGER hMonitor,;
LONG dwNewBrightness
|
 |
 |
 |
| Parameters: |
 |
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.
|
 |
 |
| Return value: |
 |
| If the function succeeds, the return value is nonzero. |
 |
 |
| Usage: |
 |
= SetMonitorBrightness(hPhysMonitor, 100)
|
 |
 |
| My comment: |
 |
If this function is supported, the GetMonitorCapabilities function returns the MC_CAPS_BRIGHTNESS flag.
See also: GetMonitorBrightness |
 |
 |
| Translate this page: |
 |
|
 |
 |
| • |
 |
| Created: | 2008-12-10 16:15:00 | | Modified: | 2008-12-10 16:17:38 | Visited in last 7 days: 16 |