IOCTL_SERIAL_SET_HANDFLOW IOCTL

The IOCTL_SERIAL_SET_HANDFLOW request sets the configuration of handshake flow control. The serial controller driver verifies the specified handshake flow control information.

To obtain handshake flow control information, a client can use an IOCTL_SERIAL_GET_HANDFLOW request.

For more information about settings for handshake flow control, see SERIAL_HANDFLOW.

Major Code

IRP_MJ_DEVICE_CONTROL

Input Buffer

The AssociatedIrp.SystemBuffer member points to a client-allocated SERIAL_HANDFLOW structure that is used to input the handshake flow control information.

Input Buffer Length

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

Output Buffer

None.

Output Buffer Length

None.

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 the specified handshake flow control is not valid.

Requirements

   
Header ntddser.h (include Ntddser.h)

See Also

IOCTL_SERIAL_GET_HANDFLOW

SERIAL_HANDFLOW