
Handheld Terminal
Software
User's Manual, Version: 1.3
71
© KEBA 2007
TupdProgressCallback
Declaration
typedef void (* TUpdProgressCallback) (int percent);
Description
TUpdProgressCallback
is the prototype of the callback functions,
which can be called from the Update API.
Arguments
int percent
: Number between 0 and 100 for the progress
7.7 Program for Starting the Application and KeTop API
This chapter describes the program for starting the application and the Ke-
Top API. The program is contained as a StartAPI.exe in the Windows direc-
tory.
7.7.1 Functional description
The StartAPI program is started by an entry in the Startup directory or by
an entry in the registry under [HKEY_LOCAL_MACHINE\init] when the Ke-
Top is started.
When the program is started, the KeTop API will be initialized first and then
the programs entered under [HKEY_LOCAL_MACHINE\Autostart] will be
started.
The program remains invisible in the memory and handles different input
devices, e.g. override potentiometer and handwheel.
7.7.2 Registry entries
[HKEY_LOCAL_MACHINE\Autostart] contains the entries that are read out
by the program.
The following entries are possible:
z
Startx
string identifying the program to be started. x is a number between 1
and 255.
z
Paramsx
string containing the parameters for the program identified in Startx. x
must have the same value as in Startx.
z
Delayx
DWORD containing the waiting time in milliseconds until the next pro-
gram is started. x must have the same value as in Startx.
z
DependStartx
array of 10 bytes containing the numbers of the programs which must
have been started so that the program x may start.
If there is no such entry or all bytes are 0 then the program x starts and
no other programs must have been started.
z
DependEndx
array of 10 bytes containing the numbers of the programs which must
have been stopped before the program x starts.