Windows Driver Kit: Serial Devices
IOCTL_SERIAL_GET_HANDFLOW
Operation
The IOCTL_SERIAL_GET_HANDFLOW request returns information about the configuration of the handshake flow control set for a serial device.
To set the configuration of the handshake flow control, a client can use an IOCTL_SERIAL_SET_HANDFLOW request.
For more information about settings for handshake flow control, see the handshake flow control parameters SERIAL_DTR_MASK through SERIAL_FLOW_INVALID, which are defined in the header file ntddser.h in the Microsoft Windows Driver Kit (WDK).
Input
The Parameters.DeviceIoControl.OutputBufferLength is set to the size in bytes of a SERIAL_HANDFLOW structure.
Output
The AssociatedIrp.SystemBuffer points to a client-allocated SERIAL_HANDFLOW structure that Serial uses to output information about the configuration of handshake flow control.
I/O Status Block
If the request is successful, the Information member is set to the size in bytes of a SERIAL_HANDFLOW structure. Otherwise, the Information member is set to zero.
The Status member is set to one of the Generic Status Values for Serial Device Control Requests.
Requirements
Headers: Defined in ntddser.h. Include ntddser.h.
See Also
IOCTL_SERIAL_SET_HANDFLOW