Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

ClearCommBreak

Windows Mobile 6.5
A version of this page is also available for
4/8/2010

This function restores character transmission for a specified communications device and places the transmission line in a nonbreak state.


BOOL ClearCommBreak(
  HANDLE hFile
);

hFile

[in] Handle to the communications device, returned by the CreateFile function.

Nonzero indicates success. Zero indicates failure. To obtain extended error information, call the GetLastError function.

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.

Headerwinbase.h
LibrarySerdev.lib
Windows Embedded CEWindows CE 1.0 and later
Windows MobileWindows Mobile Version 5.0 and later

Community Additions

Show:
© 2015 Microsoft