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 enabled/disabled status of the LCD's activity-sense auto-on feature for the specified power source.
HRESULT ITCGetScreenLightEnableOnUserAction( DWORD dwPowerSelect, DWORD* pdwEnable )
dwPowerSelect
[in] 0xAC: AC power supply.
[in] 0xDC: Battery/DC power supply.
pdwEnable
[out] Any non-zero value represents "enabled," and zero represents "disabled."
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