INtime SDK Help
SetCommBreak (Serial Communications)
INtime SDK v7.1 > About INtime > Networking and I/O > Serial Communications (COMM) > SetCommBreak (Serial Communications)

Suspends character transmission for a specified communications device and places the transmission line in a break state until ClearCommBreak is called.

BOOLEAN SetCommBreak(
  COMMHANDLE hComm   // handle to communications device
);

Parameters

hComm
[in] Handle to the communications device. OpenComm returns this handle.

Return Values

Non-zero
Success.
0 (zero)
Failure. To determine the status, call GetLastRtError.

Status

E_DISCONNECTED
COMM channel is closed.
E_PARAM
Invalid parameter.

Requirements

Versions Defined in Include Link to
INtime 3.1 intime/rt/include/comm.h comm.h comm.lib
See Also