
Software KeTop
T50VGA
70
User's Manual, Version: 1.3
© KEBA 2007
UpdGetImage
Declaration
BOOL UpdGetImage(LPCTSTR fileName, unsigned lont from,
unsigned long to,
TUpdProgressCallback pCallback);
Description
UpdGetImage
creates a copy of the device-image from the address
from
to the address
to
and saves it in the file fileName.
If a method is handed over with
pCallback
, the method will be exe-
cuted depending of the program progress. The method returns OK or
the corresponding error message.
Arguments
LPCTSTR fileName
: Name of the image file
unsigned long from
: Starting address stored in the file
unsigned long to
: Address not stored
TUpdProgressCallback pCallback
: Callback funktion for program
progress or 0.
UpdEraseRegistry
Declaration
BOOL UpdEraseRegistry();
Description
The method
UpdEraseRegistry
cleares the registry of the device
after the next update.
UpdErasePSM
Declaration
BOOL UpdErasePSM();
Description
the method
UpdErasePSM
cleares the PSM of the device after the next
update.
UpdResetDevice
Declaration
BOOL UpdResetDevice();
Description
The method
UpdResetDevice
resets the device.
UpdGetFileVersion
Declaration
BOOL UpdGetFileVersion(LPCTSTR fileName, LPTSTR version);
Description
UpdGetFileVersion
returns the version information stored in the
image file in the string
version
. The number of characters returned
can be defined in
VERSION_STRING_LEN
. Therefore
version
has to
exceed
VERSION_STRING_LEN
.
Arguments
LPCTSTR fileName
: Name of the image file
LPTSTR version
: String for version information
UpdGetImageVersion
Declaration
BOOL UpdGetImageVersion(LPTSTR version);
Description
UpdGetImageVersion
returns the in the registry stored version in-
formation in the string
version
. The number of characters returned is
defined in
VERSION_STRING_LEN
. Therefore
version
has to exceed
VERSION_STRING_LEN
.
Arguments
LPTSTR version:
String for version information