 |
|
|  |  |
 |
GetMonitorContrast ..msdn Add comment W32 Constants Translate this page |
 |
 |
|
Retrieves the minimum, maximum, and current contrast settings for a monitor. |
 |  | | Code examples: |  | |
|
 |  | | Declaration: |  |  |
BOOL GetMonitorContrast(
HANDLE hMonitor,
LPDWORD pdwMinimumContrast,
LPDWORD pdwCurrentContrast,
LPDWORD pdwMaximumContrast
);
|
 |  |  | | FoxPro declaration: |  |  |
DECLARE INTEGER GetMonitorContrast IN dxva2;
INTEGER hMonitor,;
LONG @pdwMinimumContrast,;
LONG @pdwCurrentContrast,;
LONG @pdwMaximumContrast
|
 |  |  | | Parameters: |  | hMonitor
[in] Handle to a physical monitor. To get the monitor handle, call GetPhysicalMonitorsFromHMONITOR or GetPhysicalMonitorsFromIDirect3DDevice9.
pdwMinimumContrast
[out] Receives the monitor"s minimum contrast.
pdwCurrentContrast
[out] Receives the monitor"s current contrast.
pdwMaximumContrast
[out] Receives the monitor"s maximum contrast.
|
 |  | | Return value: |  | | If the function succeeds, the return value is nonzero. |
 |  | | Usage: |  |
LOCAL minContrast, curContrast, maxContrast
STORE 0 TO minContrast, curContrast, maxContrast
= GetMonitorContrast(hPhysMonitor,;
@minContrast, @curContrast, @maxContrast)
? "Contrast:", minContrast, curContrast, maxContrast
|
 |  | | My comment: |  | | See also: SetMonitorContrast |
 |  | | Translate this page: |  | |  |  | | • |  | | Created: | 2008-12-11 14:53:09 | | Modified: | 2008-12-11 14:55:25 | Visited in last 7 days: 12 |
|
 |
 |
 |
 |
Copyright © 2001-2013
News2News, Inc.
Before reproducing or distributing any data from this site please ask for an approval from its owner. Unless otherwise specified, this page is for your personal and non-commercial use.
The information on this page is presented AS IS, meaning that you may use it at your own risk.
Microsoft Visual FoxPro
and Windows are trade marks
of Microsoft Corp.
All other trademarks are the property of their respective owners.
Privacy policy
|
 |
 |
 |
Credits: PHP (4.4.9), an HTML-embedded scripting language,
MySQL (5.1.55-log), the Open Source standard SQL database,
AceHTML Freeware
Version 4, freeware HTML Editor of choice. Hosted by Korax Online Inc. |
 |
 |
|
 |