SetBacklightIntensity

The function SetBacklightIntensity sets the backlight brightness and allows to make this setting permanent.

int SetBacklightIntensity( int percent, int permanent);   

Parameters

percent
Value between 0 and 100. This specifies backlight-brightness.

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

Return Values

Returns brightness 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]
Brightness

Requirements

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

(C) 2009 Keith & Koep GmbH. Alle Rechte vorbehalten. Nutzungsbedingungen
(C) 2009 Keith & Koep GmbH. All rights reserved. Terms of Use