Software
Support
©
SYS TEC electronic GmbH 2007 L-1032e_9
63
7.3.2.1
EthCanGetVersion
Syntax:
DWORD STDCALL EthCanGetVersion (void);
Usage
DLL_INIT, HW_INIT
Description:
The function returns the software version number of the
EthCan.Dll
.
Parameters: none
Return value:
The return value is the software version number in
DWORD
format. It
is structured as follows:
bit 0 - 7:
most significant portion of version number in
binary format
bit 8 - 15:
least significant portion of version number in
binary format
bit 16 - 31:
release version number in binary format
Application Example:
DWORD dwVersion;
char szVersion[16];
...
// Get version number
dwVersion = EthCanGetVersion ();
// convert to a string
wsprintf( szVersion, „V%d.%02d.r%d“, (dwVersion&0xff),
(dwVersion&0xff00)>>8, dwVersion>>16);
Summary of Contents for GW-003
Page 5: ...Contents SYS TEC electronic GmbH 2007 L 1032e_9 Index 97 ...
Page 8: ...CAN Ethernet Gateway SYS TEC electronic GmbH 2007 L 1032e_9 ...
Page 14: ...CAN Ethernet Gateway 6 SYS TEC electronic GmbH 2007 L 1032e_9 ...
Page 56: ...CAN Ethernet Gateway 48 SYS TEC electronic GmbH 2007 L 1032e_9 ...
Page 66: ...CAN Ethernet Gateway 58 SYS TEC electronic GmbH 2007 L 1032e_9 ...
Page 100: ...CAN Ethernet Gateway 92 SYS TEC electronic GmbH 2007 L 1032e_9 ...
Page 108: ...Published by SYS TEC electronic GmbH 2007 Ordering No L 1032e_9 Printed in Germany ...