ClearCommBreak (Windows CE 5.0)
This function restores character transmission for a specified communications device and places the transmission line in a nonbreak state.
BOOLClearCommBreak(HANDLEhFile);
Parameters
hFile
[in] Handle to the communications device.The CreateFile function returns this handle.
Return Values
Nonzero indicates success.
Zero indicates failure.
To obtain extended error information, call the GetLastError function.
Remarks
A communications device is placed in a break state by the SetCommBreak or EscapeCommFunction function.
Character transmission is suspended until the break state is cleared by calling the ClearCommError function.
Requirements
OS Versions: Windows CE 1.0 and later.
Header: Winbase.h.
Link Library: Serdev.lib.
See Also
ClearCommError | CreateFile | EscapeCommFunction | SetCommBreak
Send Feedback on this topic to the authors