Your browser does not allow scripts
Please click here to view a static table of contents without scripts
FT_W32_SetCommBreak
Return to Introduction  Previous page  Next page
Puts the communications line in the BREAK state.

BOOL
FT_W32_SetCommBreak
(FT_HANDLE ftHandle)




Parameters
ftHandle
Handle of the device.




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


Example
This example shows how put the line in the BREAK state.

FT_HANDLE ftHandle; // setup by FT_W32_CreateFile

if (!FT_W32_SetCommBreak(ftHandle))
  ; // FT_W32_SetCommBreak failed
else
  ; // FT_W32_SetCommBreak OK