IOCTL_SERIAL_GET_TIMEOUTS IOCTL

The IOCTL_SERIAL_GET_TIMEOUTS request returns the time-out values that the serial controller driver uses with read and write requests.

To set time-outs, a client can use an IOCTL_SERIAL_SET_TIMEOUTS request.

For more information about time-outs, see Setting Read and Write Time-Outs for a Serial Device.

Major Code

IRP_MJ_DEVICE_CONTROL

Input Buffer

None.

Input Buffer Length

None.

Output Buffer

The AssociatedIrp.SystemBuffer member points to a client-allocated SERIAL_TIMEOUTS structure that the serial controller driver uses to output information about read and write time-out values.

Output Buffer Length

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

Status Block

If the request is successful, the Information member is set to the size, in bytes, of a SERIAL_TIMEOUTS 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

   
Header ntddser.h (include Ntddser.h)

See Also

IOCTL_SERIAL_SET_TIMEOUTS

SERIAL_TIMEOUTS