This function is supported by all computers with a backlit LCD screen. See the computer user manual for more information on its backlight capability.
Turns the backlight on or off. If another program (such as a media player) controls the backlight resource, this function has no effect.
HRESULT ITCSetScreenLight(
BOOL fON_OFF,
BOOL fUseCurrentBrightness
)
fON_OFF
[in] TRUE to turn the light on.
[in] FALSE to turn the light off.
fUseCurrentBrightness
[in] Always set to TRUE.
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