beautypg.com

8 other function, 1 vci_get_dllver, Other function – B&B Electronics I-7565-H2 - Manual User Manual

Page 60: Vci_get_dllver

background image

5.8 Other Function

These functions are used to get the VCI_CAN library information or

helpful for users’ program.

5.8.1 VCI_Get_DllVer

This function is used to get the version of VCI_CAN library.


Syntax :

DWORD

VCI_Get_DllVer (

void

);

Parameter :
None

Return Values :
Return the VCI_CAN library version. Hi-byte is the major version and
lo-byte is the minor version.

Examples :
DWORD DllVer;
char VCI_DllVer[10];

DllVer = VCI_Get_DllVer();
sprintf(VCI_DllVer, “v%lu.%02lu", (DllVer>>8)&0xFF, DllVer&0xFF);

I-7565-H1/H2 High Speed USB/CAN Converter User’s Manual (Ver 1.1, Nov/2009) ------------- 60