SetCommBreak

Syntax

int SetCommBreak(nCid)

This function suspends character transmission and places the transmission line in a break state until the ClearCommBreak function is called.

Parameter Type/Description  

nCid int Specifies the communication device to be suspended. The OpenComm function returns this value.  

Return Value

The return value specifies the result of the function. It is zero if the function is successful. It is negative if nCid does not specify a valid device.