KsSetCommBreak

The availability of this function depends on what the device supports.

Suspends character transmission for a specified communications device and places the transmission line in a break state until the KsClearCommBreak function is called.

Syntax

BOOL KsSetCommBreak(
     HANDLE hFile
);

Parameters

hFile: a handle to the communications device. The KsCreateComm function returns this handle.

Return value

If the function succeeds, it returns TRUE, otherwise FALSE. To get extended error information, call GetLastError.

Example

N/A

Requirements

  RT Win32
Minimum supported version 4.0 4.0
Header kscom.h kscom.h
Library KsApi_Rtss.lib ksapi.h

See also

KsCreateComm

KsClearCommBreak