Denso BHT-700-CE Reference Manual page 144

Barcode handy terminal
Table of Contents

Advertisement

BHT_ShutdownSystem
Description
Turn off the BHT and boot the BHT according to the mode specified by the parameter.
Syntax
DWORD BHT_ShutdownSystem (
DWORD
dwMode
Parameters
dwMode
[in] Power-off mode
dwMode
BHT_PWR_WARM
BHT_PWR_SUSPEND
BHT_PWR_COLD_REGINIT
BHT_PWR_COLD_REGREMAIN
BHT_PWR_SYSMODIFY
BHT_PWR_COLD
Return value
Error code
ERROR_SUCCESS
ERROR_INVALID_PARAMETER Parameter error.
Comment:
Any of the following five modes can be specified:
- Warm boot*
- Suspend
- Cold boot* with Registry initialization (The Registry backup will also be lost.)
- Cold boot* without Registry initialization
- Cold boot*
*
Contents of the memory after warm-/cold-booting the BHT
Files in the FLASH folder
Files in the RAM
Contents of the Registry
Data being edited
(Note) If the Registry has been backed up, the backup will apply.
)
Turn off and warm-boot the BHT. No power-off action is required.
The contents in the RAM can be retained.
Transfer control to the suspended mode. Pressing the power key
starts the BHT. The contents in the RAM will be retained as long as
the sub-battery is charged.
Turn off and cold-boot the BHT. Pressing the power key starts the
BHT. The contents in the RAM will be lost and the system registry
will be initialized.
Turn off and cold-boot the BHT. Pressing the power key starts the
BHT. The contents of the system registry will be saved into the non-
volatile memory in powering-off sequence and restored at the cold
boot.
A cold boot is performed automatically after turning OFF the power.
With the BHT-700, this is the same as BHT_PWR_COLD.
A cold boot is performed automatically after turning OFF the power.
If the registry has been saved, the BHT is booted based on the
values for that registry, however, if it has not been saved, the BHT
is booted based on the values for the default registry value.
Successful completion
After warm booting
Retained
Retained
Retained
Erased
Specifications
Meaning
After cold booting
Retained
Erased
Erased (Note)
Erased
139

Advertisement

Table of Contents
loading

Table of Contents