
EventMsgDomains
Enum, describes the events a handler has been subscribed to.
eventCallback
Function pointer to callback function.
7.3.2
Handling of Errors
7.3.2.1
Rules
●
All functions expecting any input parameter check if the parameter is loca-
ted 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.
●
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.
●
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.
7.3.2.2
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
7.4
Functions
7.4.1
Functions for starting and closing
This chapter describes functions that are needed for starting and closing the
KetopApi.dll.
KtpAPIInit
Declaration
UINT8 KtpAPIInit(void);
Description
This method initializes the KetopAPI.
Arguments
-
Software
KeTop T50VGA
© KEBA 2009
User's Manual V1.50
54