This function is supported by all computers with a backlit LCD screen. See the computer user manual for more information on its backlight capability.
Returns the maximum brightness level of the LCD light. The unsigned numeric value returned via the pdwBrightness parameter should be used to determine the absolute upper limit of the brightness range when setting or querying the LCD light brightness level using any of the other LCD brightness API's. The lower limit of the brightness range is a fixed value of '1'.
HRESULT ITCGetMaxScreenBrightness(
DWORD* pdwBrightness
)
pdwBrightness
[out] Returns the maximum brightness level for the LCD light. The supported brightness ranges from 1 to this returned value.
HRESULT indicating success or failure. Honeywell recommends using the result-code macros to evaluate the return code.
If your computer does not have a backlit screen, this function returns ITC_ERROR_FUNCTION_NOT_SUPPORTED.
Header File: ITC50.H
Library: ITC50.LIB