21.07.2015 Views

Programming Info D2XXPG31.pdf

Programming Info D2XXPG31.pdf

Programming Info D2XXPG31.pdf

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

FT-Win32 API Functions725 FT-Win32 API FunctionsIntroductionThe D2XX interface also incorporates functions based on Win32 API and Win32 COMM API calls.This facilitates the porting of communications applications from VCP to D2XX.OverviewBefore the device can be accessed, it must first be opened. FT_W32_CreateFile 73 returns ahandle that is used by all functions in the programming interface to identify the device. When thedevice has been opened successfully, I/O can be performed using FT_W32_ReadFile 76 andFT_W32_WriteFile 79 . When operations are complete, the device is closed usingFT_W32_CloseHandle 75 .ReferenceType definitions 99 of the functional parameters and return codes used in the FT-Win32 interfaceare contained in the appendix 98 .© Future Technology Devices International Ltd. 2005

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!