Your browser does not allow scripts
Please click here to view a static table of contents without scripts
FT_W32_GetLastError
Return to Introduction  Previous page  Next page
Gets the last error that occurred on the device.

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