FT_Close

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
喜欢就支持一下吧
点赞0 分享
评论 抢沙发
头像
欢迎您留下宝贵的见解!
提交
头像

昵称

取消
昵称表情代码图片

    暂无评论内容