Flushes the buffers of the specified COM device and causes all buffered data to be written to the device.
BOOLEAN FlushCommBuffers( COMMHANDLE hComm // handle to device );
hComm
0
(zero)
E_DISCONNECTED
Note that this function is subject to flow control but not to write time-outs, and it does not return until all pending write operations are transmitted.
Versions | Defined in | Include | Link to |
---|---|---|---|
INtime 3.1 | intime/rt/include/comm.h | comm.h | comm.lib |