FT_Open

Supported Operating Systems by FT_Open

Linux
Mac OS X (10.4 and later)
Windows (2000 and later)
Windows CE (4.2 and later)
Summary
Open the device and return a handle which will be used for subsequent accesses.

阿迪达斯官网 adidas PT OPEN HEM 女装运动型格裤装FT2869
踝部配拉链的运动裤 | 月销量12件
优惠价449元
原价¥449

淘口令:

¥ofR9XtG3Sd8¥
 

Definition of FT_Open

FT_STATUS FT_Open (int iDevice, FT_HANDLE *ftHandle)

Parameters of FT_Open

iDevice       Index of the device to open. Indices are 0 based.
ftHandle      Pointer to a variable of type FT_HANDLE where the handle will be
stored. This handle must be used to access the device.

Return Value of FT_Open

FT_OK if successful, otherwise the return value is an FT error code.

Remarks about FT_Open

Although this function can be used to open multiple devices by setting iDevice to 0, 1, 2 etc. there is no
ability to open a specific device. To open named devices, use the function FT_OpenEx.

Example of FT_Open

FT_HANDLE ftHandle;
FT_STATUS ftStatus;
ftStatus = FT_Open(0,&ftHandle);
if (ftStatus == FT_OK) {
// FT_Open OK, use ftHandle to access device
}
else {
// FT_Open failed
}

© 版权声明
THE END
喜欢就支持一下吧,技术咨询可以联系QQ407933975
点赞0
分享
评论 抢沙发
CPPKU的头像-cppku-C++库

昵称

取消
昵称表情代码图片