Share via


IOCTL_SERIAL_SET_BREAK_ON

Other versions of this page are also available for the following:

Windows Mobile Not SupportedWindows Embedded CE Supported

8/28/2008

This IOCTL sets the break state. The DeviceIoControl function executes this IOCTL.

Parameters

  • dwOpenData
    [in] Handle returned from a call to the COM_Open function.
  • dwCode
    [in] Set to this IOCTL: IOCTL_SERIAL_SET_BREAK_ON.
  • pBufIn
    Ignored.
  • dwLenIn
    Ignored.
  • pBufOut
    Ignored.
  • dwLenOut
    Ignored.
  • pdwActualOut
    Ignored.

Return Values

Returns TRUE if successful. Returns FALSE otherwise. To get extended error information, call GetLastError.

Remarks

This IOCTL sets the transmission line to a break state until IOCTL_SERIAL_SET_BREAK_OFF executes.

Requirements

Header pegdser.h
Windows Embedded CE Windows CE 1.0 and later

See Also

Reference

COM_IOControl
COM_Open
DeviceIoControl
IOCTL_SERIAL_SET_BREAK_OFF