Книга: Microsoft Windows Embedded CE 6.0 Exam Preparation Kit
Enabling Kiosk Mode
Enabling Kiosk Mode
Many Windows Embedded CE devices, such as medical monitoring devices, automated teller machines (ATM), or industrial control systems are dedicated to a single task. The standard graphical shell is not useful for these devices. Removing the standard shell restricts access to the Control Panel configuration settings and also protects users from starting additional applications. The result is a device in kiosk mode that opens an application according to the special purpose of the target device directly with no shell access.
Kiosk applications for Windows Embedded CE are developed in native code or managed code. The only requirement is to start this application in place of the standard shell (Explorer.exe). The system then starts a black shell, meaning no shell application is running on the device. You only need to configure the registry entries under the HKEY_LOCAL_MACHINEInit key to implement this configuration. As mentioned earlier in this chapter, the LaunchXX entry for Explorer.exe is Launch50. Replace Explorer.exe with your custom kiosk application and consider the job completed, as shown in Table 3-7. Keep in mind that your custom kiosk application must implement the SignalStarted API for the kernel to manage the application dependencies correctly.
Table 3-7 Startup registry parameter examples
Location | HKEY_LOCAL_MACHINEINIT |
---|---|
Component | Custom Kiosk Application |
Binary | Launch50="myKioskApp.exe" |
Dependencies | Depend50=hex:14,00,1e,00 |
Description | To enable kiosk mode replace the Launch50 entry for Explorer.exe in the device registry with an entry that points to a custom kiosk application. |
NOTE
Kiosk Mode for managed applications
To run a managed application in place of the standard shell, include the binary file in the runtime image and edit the .bib file that belongs to the managed application. Specifically, you must define binary files in a FILES section for the system to load the application inside the Common Language Runtime (CLR).
- 1.1.4. Model Explorer - навигатор модели
- Enabling Network Printing on a LAN
- Листинг 14.2. Использование параметра XMLWriteMode при сохранении объекта ADO.NET DataSet
- Entering and Exiting PHP Mode
- 3.4.2. The Transaction Model
- 10.1. Enabling MTD Services
- 17.2.2. Preemption Models
- 17.4.9. Runtime Control of Locking Mode
- 1.3.14 Sleep Mode
- 7.1.2 Operation of the SD Card in SPI Mode
- 9.9.1 Configuration Mode
- 9.9.2 Disable Mode