FTDI Community

Please login or register.

Login with username, password and session length.
Advanced Search  


Welcome to the FTDI Community!

Please read our Welcome Note

Technical Support enquires
please contact the team
@ FTDI Support

New Bridgetek Community is now open

Please note that we have created the Bridgetek Community to discuss all Bridgetek products e.g. EVE, MCU.

Please follow this link and create a new user account to get started.

Bridgetek Community

Show Posts

You can view here all posts made by this member. Note that you can only see posts made in areas to which you currently have access.

Messages - mosi

Pages: [1]
A question about the FT_Write() function.

Code: [Select]
FT_STATUS FT_Write (FT_HANDLE ftHandle, LPVOID lpBuffer, DWORD dwBytesToWrite, LPDWORD lpdwBytesWritten)

I wonder about the lpdwBytesWritten.

When will it ever return lpdwBytesWritten < dwBytesToWrite? Would FT_Write return other than FT_OK in that case?

And how much data can I send in one call to FT_Write? What limit has the dwBytesToWrite parameter?

Pages: [1]