DWORD
|
FT_W32_GetLastError
|
(FT_HANDLE ftHandle)
|
Parameters
ftHandle
|
Handle of the device.
|
Return Value
If the function is successful, the return value is nonzero.
If the function is unsuccessful, the return value is zero.
Remarks
This function is normally used with overlapped I/O and so is not supported in Windows CE. For a description of its use, see FT_W32_ReadFile and FT_W32_WriteFile.
In Linux this function returns a DWORD that directly maps to the FT Errors (for example the FT_INVALID_HANDLE error number).