IOCTL_SERIAL_SET_CHARS - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// ntddser.h

// CTL_CODE(0x001b, 0x017, METHOD_BUFFERED, FILE_ANY_ACCESS)
#define IOCTL_SERIAL_SET_CHARS 0x001B005C
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (ni-ntddser-ioctl_serial_set_chars)

IOCTL_SERIAL_SET_CHARS IOCTL

Description

The IOCTL_SERIAL_SET_CHARS request sets the special characters that the serial controller driver uses for handshake flow control. This driver verifies the specified special characters.

To obtain the special characters, a client can use an IOCTL_SERIAL_GET_CHARS request.

Parameters

Major code

Input buffer

The AssociatedIrp.SystemBuffer member points to a client-allocated SERIAL_CHARS structure that is used to input special characters.

Input buffer length

The Parameters.DeviceIoControl.InputBufferLength member is set to the size, in bytes, of a SERIAL_CHARS structure.

Output buffer

None.

Output buffer length

None.

Input/output buffer

Input/output buffer length

Status block

The Information member is set to zero.

The Status member is set to one of the Generic Status Values for Serial Device Control Requests. A status of STATUS_INVALID_PARAMETER indicates that XoffChar equals XonChar, or that one of them equals the handshake flow control escape character.

See also

IOCTL_SERIAL_GET_CHARS

SERIAL_CHARS