Trek TREK-725 Benutzerhandbuch

Seite von 100
Trek-725 User Manual
74
AdvLibScreenOff
Call this function to turn off the LCD panel backlight.
* BOOL AdvLibScreenOff(void)
+ Parameters
  - No parameters
+ Return Value
  - TRUE (nonzero) on success.
    FALSE (zero) on failure.
+ Remarks
Turns off the LCD panel.
4.9.10 Registry flush
Writes all the attributes of the specified open registry key into the flash 
ROM.
AdvLibRegFlushKey
Call this function to flush the registry.
* BOOL AdvLibRegFlushKey(void)
+ Parameters
  - No parameters
+ Return Value
  - TRUE (nonzero) on success.
    FALSE (zero) on failure.
+ Remarks
If you want your previous registry changes to be committed by flushing 
data to flash ROM, you can call AdvLibRegFlushKey. Calling AdvLi-
bRegFlushKey frequently may degrade performance.
4.9.11 Build a Platform with this library
If you want to build this driver into your Windows CE OS image, just add 
the following lines to your Platform.bib. Don't forget to put AdvLib.dll 
into your Platform's $(_FLATRELEASEDIR).
   MODULES
   AdvLib.dll$(_FLATRELEASEDIR)AdvLib.dllNK SH
Finally, make the image.