ITCGetMaxScreenBrightness

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'.

Syntax

HRESULT ITCGetMaxScreenBrightness(
DWORD* pdwBrightness
)

Parameters

pdwBrightness
[out] Returns the maximum brightness level for the LCD light. The supported brightness ranges from 1 to this returned value.

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