Your browser does not allow scripts
Please click here to view a static table of contents without scripts
JTAG_GetDllVersion
Return to Introduction  Previous page  Next page
Returns the version number of the current FTC_JTAG DLL.

FTC_STATUS
JTAG_GetDllVersion
(LPSTR lpDllVersionBuffer, DWORD dwBufferSize)




Parameters
lpDllVersionBuffer
Pointer to the buffer that receives the version of this DLL. The string will be NULL terminated.
dwBufferSize
Length of the buffer created for the device name string. Set buffer length to a minimum of 10 characters.




Return Value
FTC_SUCCESS if successful, otherwise the return value is one of the following FTC error codes:

   FTC_NULL_DLL_VERSION_BUFFER_POINTER
   FTC_DLL_VERSION_BUFFER_TOO_SMALL



Example

FTC_STATUS Status = FTC_SUCCESS;
char szDllVersion[10];

Status = JTAG_GetDllVersion(szDllVersion, 10);