Supported Operating Systems by FT_Close
Linux
null
Mac OS X (10.4 and later)
Windows (2000 and later)
Windows CE (4.2 and later)
Summary of FT_Close
Close an open device.
Definition of FT_Close
FT_STATUS FT_Close (FT_HANDLE ftHandle)
Parameters of FT_Close
ftHandle Handle of the device.
Return Value of FT_Close
FT_OK if successful, otherwise the return value is an FT error code.
Example of FT_Close
FT_HANDLE ftHandle;
FT_STATUS ftStatus;
ftStatus = FT_Open(0,&ftHandle);
if (ftStatus == FT_OK) {
// FT_Open OK, use ftHandle to access device
// when finished, call FT_Close
FT_Close(ftHandle);
}
else {
// FT_Open failed
}
© 版权声明
文章版权归作者所有,未经允许请勿转载。
THE END
暂无评论内容