Your browser does not allow scripts
Please click here to view a static table of contents without scripts
FT_W32_SetupComm
Return to Introduction  Previous page  Next page
This function sets the read and write buffers.

BOOL
FT_W32_SetupComm
(FT_HANDLE ftHandle, DWORD dwReadBufferSize, DWORD dwWriteBufferSize)




Parameters
ftHandle
Handle of the device.
dwReadBufferSize
Length, in bytes, of the read buffer.
dwWriteBufferSize
Length, in bytes, of the write buffer.




Return Value
If the function is successful, the return value is nonzero.
If the function is unsuccessful, the return value is zero.



Remarks
This function has no effect. It is the responsibility of the driver to allocate sufficient storage for I/O requests.