Ready for review
SetBacklightIntensity
The function SetBacklightIntensity sets the backlight brightness and allows to make this setting permanent.
int SetBacklightIntensity( int percent, int permanent);
Parameters
percent
A value between 0 and 100. This specifies backlight-brightness.
permanent
1: Save settings to the registry. 0: Don't save settings.
Return Values
Returns brightness value stored in the 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