Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Current »

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

  • No labels