Configuring Screen Savers in Thin Client (Windows CE 5.0)
If you want the shell to load a screen saver after a specified period of time, you must include the dynamic-link library (DLL) of the screen saver in your image. You must also configure the registry to support the screen saver.
The following registry key shows the required settings for Windows Thin Client.
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Power]
"BattPowerOff"=DWORD:0
"ExtPowerOff"=DWORD:0
"ScreenPowerOff"=DWORD:300
The ScreenPowerOff registry entry specifies the amount of time, in seconds, that must elapse with no user input before the shell starts the screen saver.
When the user presses the CTRL+ALT+END key combination, the Windows Thin Client Shell brings the shell UI to the foreground. To configure this key combination, set the following registry entries.
[HKEY_LOCAL_MACHINE\HARDWARE\DEVICEMAP\KEYBD]
"DriverName"="Kbdmouse.dll"
"CalVKey"=DWORD:0
"ContLessVKey"=DWORD:0
"ContMoreVKey"=DWORD:0
"TaskManVKey"=DWORD:23
The HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\WBT\Shell registry key configures the screen saver for the thin client shell. The following table shows the named values.
Value | Description |
---|---|
ScreenSaver (REG_SZ) | This value specifies the DLL to load when starting the screen saver. This value is entered at build time.
The following list shows the three screen savers that are included with the Windows-based Terminal user interface source; you can use one of these as the screen saver:
To include one of these screen savers, list the name of the desired screen saver in the RDP_MODULES environment variable (%_PROJECTROOT%\Oak\Misc\Cesysgen.bat). |
ScreenSaverEnable (REG_DWORD) | This value specifies whether to enable the screen saver. If this value is equal to 0, then the screen saver is not enabled. If it is greater than 0, then the screen saver is enabled and the shell attempts to load the screen saver specified. Because the shell queries this registry every time that it receives a WM_POWERBROADCAST message, thiscan be changed dynamically. |
See Also
Customizing a Thin Client | How to Develop a Thin Client
Send Feedback on this topic to the authors