SetCommBreak

2.x

  int SetCommBreak(idComDev)    
  int idComDev; /* device to suspend, */  

The SetCommBreak function suspends character transmission and places the communications device in a break state.

Parameters

idComDev

Specifies the communications device to be suspended. The OpenComm function returns this value.

Return Value

The return value is zero if the function is successful. Otherwise, it is less than zero.

Comments

The communications device remains suspended until the application calls the ClearCommBreak function.

See Also

ClearCommBreak, OpenComm