Skip to content

Latest commit

 

History

History
102 lines (73 loc) · 2.84 KB

nf-winbase-clearcommbreak.md

File metadata and controls

102 lines (73 loc) · 2.84 KB
UID title description helpviewer_keywords old-location tech.root ms.assetid ms.date ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames req.redist ms.custom f1_keywords dev_langs topic_type api_type api_location api_name
NF:winbase.ClearCommBreak
ClearCommBreak function (winbase.h)
Restores character transmission for a specified communications device and places the transmission line in a nonbreak state.
ClearCommBreak
ClearCommBreak function
_win32_clearcommbreak
base.clearcommbreak
winbase/ClearCommBreak
base\clearcommbreak.htm
base
9692242c-e209-4492-ab0b-333f09595597
12/05/2018
ClearCommBreak, ClearCommBreak function, _win32_clearcommbreak, base.clearcommbreak, winbase/ClearCommBreak
winbase.h
Windows.h
Windows
Windows XP [desktop apps \| UWP apps]
Windows Server 2003 [desktop apps \| UWP apps]
Kernel32.lib
Kernel32.dll
Windows
19H1
ClearCommBreak
winbase/ClearCommBreak
c++
APIRef
kbSyntax
DllExport
Kernel32.dll
API-MS-Win-Core-comm-l1-1-0.dll
KernelBase.dll
API-MS-Win-DownLevel-Kernel32-l1-1-0.dll
MinKernelBase.dll
ClearCommBreak

ClearCommBreak function

-description

Restores character transmission for a specified communications device and places the transmission line in a nonbreak state.

-parameters

-param hFile [in]

A handle to the communications device. The CreateFile function returns this handle.

-returns

If the function succeeds, the return value is nonzero.

If the function fails, the return value is zero. To get extended error information, call GetLastError.

-remarks

A communications device is placed in a break state by the SetCommBreak or EscapeCommFunction function. Character transmission is then suspended until the break state is cleared by calling ClearCommBreak.

-see-also

ClearCommError

Communications Functions

Communications Resources

CreateFile

EscapeCommFunction

SetCommBreak