• Ready for review
  • SetContrastIntensity

    The function SetContrastIntensity sets the backlight contrast-value. Typically this is only used for passive-displays.

    int SetContrastIntensity( int percent, int permanent);

    Parameters

    percent
    Value between 0 and 100. This specifies the contrast-value.

    permanent
    1: Save settings to registry. 0: Don't save settings.

    Return Values

    Returns contrast value stored in registry. If you set permanent=1, the previous value is returned.

    Remarks

    If permanent is set, settings will be saved to:
    [HKEY_CURRENT_USER\ControlPanel\Backlight]
    Contrast.

    Requirements

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