This function is supported by all computers with a backlit LCD screen. See the computer user manual for more information on its backlight capability.
Sets the LCD brightness level associated with the power source currently in use (either AC or Battery/DC). To set the brightness level for a specific power source, use ITCSetScreenBrightnessAcDc instead.
HRESULT ITCSetScreenBrightness(
DWORD* dwBrightLevel
)
dwBrightLevel
[in] LCD light brightness level. The supported brightness range is from 1 to the value set by ITCGetMaxScreenBrightness.
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