ClearCommBreak

  BOOL ClearCommBreak(hCommDev)    
  HANDLE hCommDev; /* comm device to restore */

The ClearCommBreak function restores character transmission and places the transmission line in a nonbreak state.

Parameters

hCommDev

Specifies the communication device to be restored. The CreateFile function returns this value.

Return Value

The return value is TRUE if the function was successful. Otherwise it is FALSE. Use the GetLastError function to obtain extended error information.

See Also

ClearCommError