Software KeTop T50VGA
54 User's Manual, Version: 1.3
© KEBA 2007
In case of a restart of Windows CE, these files are automatically copied
to the \windows directory. Therefore these files will be available for the
operating system and after a restart.
7.3.1 Common data types
This section contains a detailed description of the common data types for
the communication with the handheld terminal. For further information, see
TpuHwDataTypes.h.
INT8 Signed 8 bit integer variable.
UINT8 Unsigned 8 bit integer variable.
BacklightStat Enum, displays the backlight status
JoystickPos Struct, for joystick data.
Status Struct Describes the startup state of the device.
EventMsg Enum, describes the event message received.
EventMsgDomains Enum, describes the events a handler has been subscribed to.
eventCallback Function pointer to callback function.
7.3.2 Handling of Errors
Rules
z All functions expecting any input parameter check if the parameter is
located inside the range and if its data type is correct. If a parameter is
located outside the range the function will return
INVALID_ARG_RANGE.
z All functions expecting a pointer for output data as parameter check if
the pointer is valid, i.e. the pointer must not be NULL. If the pointer is
invalid, the function will return INVALID_ARG_INVALID_PTR.
z All functions having any string as parameter check if the pointer to the
string is valid. If the pointer is invalid, the function will return
INVALID_ARG_INVALID_STR_PTR.
Defines
SUCCESS 0
OK 0
FAIL 1
INVALID_ARG_RANGE 2
INVALID_ARG_PTR 3
INVALID_ARG_STR_PTR 4
INVALID_ARG_UNKNWN_COOKIE 5
INVALID_ARG_UNKNWN_DOMAIN 6
INVALID_NOT_CALIBRATED 7
INVALID_POTI_NOT_CALIBRATED 8
UNSAVE_DLL_TERMINATION -100
API_NOT_INIT -101