SetCommBreak (Windows CE 5.0)

Send Feedback

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.

BOOLSetCommBreak(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.

Requirements

OS Versions: Windows CE 1.0 and later.
Header: Winbase.h.
Link Library: Serdev.lib.

See Also

ClearCommBreak | CreateFile

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.