Skip to content

Commit

Permalink
Add FT_GetDriverVersion() and FT_GetLibraryVersion()
Browse files Browse the repository at this point in the history
  • Loading branch information
dforsi committed Dec 28, 2019
1 parent 0f024b3 commit da62340
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 2 deletions.
11 changes: 11 additions & 0 deletions ftd2xx.c
Original file line number Diff line number Diff line change
Expand Up @@ -540,3 +540,14 @@ Trace("\n");
return xFT_SetChars(ftHandle, uEventCh, uEventChEn, uErrorCh, uErrorChEn);
}

FT_STATUS FT_GetDriverVersion (FT_HANDLE ftHandle, LPDWORD lpdwDriverVersion)
{
Trace("\n");
return xFT_GetDriverVersion(ftHandle, lpdwDriverVersion);
}

FT_STATUS WINAPI FT_GetLibraryVersion (LPDWORD lpdwDLLVersion)
{
Trace("\n");
return xFT_GetLibraryVersion (lpdwDLLVersion);
}
4 changes: 2 additions & 2 deletions ftd2xx.spec
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,8 @@
71 stdcall FT_GetDeviceInfoList(ptr ptr)
72 stdcall FT_GetDeviceInfoDetail(long ptr ptr ptr ptr ptr ptr ptr)
73 stub FT_SetDeadmanTimeout
74 stub FT_GetDriverVersion
75 stub FT_GetLibraryVersion
74 stdcall FT_GetDriverVersion(long ptr)
75 stdcall FT_GetLibraryVersion(ptr)
76 stub FT_W32_GetCommMask
77 stub FT_Rescan
78 stub FT_Reload
Expand Down

0 comments on commit da62340

Please sign in to comment.