Developers guide

Chapter 1: Introduction
Reset Methods
Psion Teklogix Mobile Devices SDK Developers Guide 7
Windows Mobile Operating Systems
On a Psion Teklogix computer running Windows Mobile, a warm reset completely reloads and re-
starts the operating system. Registry settings, installed programs, and any data files that reside in
flash memory are all preserved through the reset.
Files and data stored in the RAM Drive partition are not preserved during a warm reset. To have
files stored in the RAM Drive persist through the reset procedure, you must create a Total Recall
profile (see Chapter 18: “Total Recall”) and store it on the flash (“My Device”) file system.
A cold reset in Windows Mobile is identical to a warm reset, except some low level hardware
(PCon) is also restarted before the operating system boots.
Clean Start
In addition to the standard reset functions, there is a clean start procedure that resets the computer
to its factory default settings. This operation can only be performed manually, and cannot be initi-
ated through a program call. This should only be used when absolutely necessary to recover the
computer to a usable state as it involves booting to the bootstrap (BooSt) menu, which should typ-
ically only be accessed by trained Psion Teklogix personnel. Use with caution!
Table 1.2 summarizes the effects on the computers memory and settings for each type of reset.
1.5.2 Reset Methods
There are several methods available for invoking the different reset types on Psion Teklogix
computers.
The suspend, warm reset and cold reset types can all be initiated from within a program via the
Mobile Devices SDK. These reset types also appear as user-selectable options in the Windows
Shutdown menu on computers running the Windows CE 5.0 operating system.
The clean start reset can only be performed manually by the computer user.
Important: To initiate a computer reset from within a program on a computer running
Windows Mobile, you must call the warm reset method. Attempting to call the
cold reset method on a Windows Mobile device will fail.
Tab l e 1 . 2 Effects of Resetting Psion Teklogix Computers
Feature Warm Reset Cold Reset Clean Start
Restarts Windows Yes Yes Yes
Restarts all drivers Yes Yes Yes
Clears application memory (RAM) Yes Yes Yes
Sets object store RAM to factory default No Yes Yes
Sets registry to factory default No No Yes
Sets image to factory default No No Yes
Clears addressable persistent storage (flash) No No No
Can be invoked with API function call Yes Yes (CE)
No (WM)
No