• Ready for review
  • GetBacklightIntensity

    The function GetBacklightIntensity returns the current brightness value stored at [HKEY_CURRENT_USER\ControlPanel\Backlight] Brightness.

    int GetBacklightIntensity( void);

    Parameters

    none

    Return Values

    Returns brightness value stored in the registry. -1 indicates failure.

    Remarks

    This value does not indicate the current backlight state. It simply reads the brightness-value used for normal operation. The backlight might be dimmed if entering a lower power-state.

    Requirements

    OS Versions: Windows CE 4.2 and later.
    Header: drvlib_app.h
    Link Library: drvlib_app.lib