SetCommBreak

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

At a Glance

Header file: Winbase.h
Windows CE versions: 1.0 and later

Syntax

BOOL SetCommBreak(HANDLE hFile);

Parameters

hFile

[in] Handle to the communications device. The CreateFile function returns this handle.

Return Values

Nonzero indicates success. Zero indicates failure. To get extended error information, call GetLastError.

See Also

ClearCommBreak, CreateFile