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);