USB-CANmodul
32
SYS TEC electronic GmbH 2001 L-487e_6
3.2.2
Functions of the USBCAN32.DLL
This section describes the various functions provided by
USBCAN32.DLL. Most of the functions return one BYTE
containing an error code. The meaning of this code is the same for
each function. Besides the syntax, the meaning and the parameters of
each function, the possible error codes are shown.
UcanGetVersion
Syntax:
DWORD STDCALL UcanGetVersion (void);
Usability:
DLL_INIT, HW_INIT, CAN_INIT
Description:
Returns the software version number of the USBCAN32.DLL.
Parameter:
Return value: Software version number as DWORD with the
following format:
Bit 0 to 3: least significant digits of the version number in
binary format
Bit 4 to 7: most significant digits of the version number in
binary format
Bit 8 to 14: reserved
Bit 15: 1 = customer specific version