ITCSetScreenLightEnableOnUserAction

This function is supported by all computers with a backlit LCD screen. See the computer user manual for more information on its backlight capability.

Enables or disables the auto-sense LCD light-on feature.

Syntax

HRESULT ITCSetScreenLightEnableOnUserAction(
DWORD dwPowerSelect,
BOOL dwEnable
)

Parameters

dwPowerSelect
[in] 0xAC: AC power supply.
[in] 0xDC: Battery/DC power supply.

dwEnable
[in] TRUE: Allows the computer to sense user activity (key presses or screen touches) as a trigger that turns on the LCD light. Continued user actions keep the LCD light on until there is a period of inactivity exceeding the current timeout period.
[in] FALSE: Disables user activity detection.

Return Values

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 and Library Files

Header File: ITC50.H

Library: ITC50.LIB

More Information

Light Control Functions