Pointer to the DLL version number.
FT_OK if successful, otherwise the return value is an FT error code.
A version number consists of major, minor and build version numbers contained in a 4-byte field (unsigned long). Byte0 (least significant) holds the build version, Byte1 holds the minor version, and Byte2 holds the major version. Byte3 is currently set to zero.
For example, driver version "3.01.02" is represented as 0x00030102. Note that this function does not take a handle, and so it can be called without opening a device.
Not available in Windows CE or Linux.
This example shows how to call FT_GetLibraryVersion.
// Get DLL version
status = FT_GetLibraryVersion(&dwLibraryVer);
if (status == FT_OK)
printf("Library version = 0x%x\n",dwLibraryVer);
printf("error reading library version\n");