IOCTL_SERIAL_SET_TIMEOUTS
Windows Driver Kit: Serial Devices
IOCTL_SERIAL_SET_TIMEOUTS

Operation

The IOCTL_SERIAL_SET_TIMEOUTS request sets the time-out values that the driver uses with read and write requests.

To obtain the time-out values, a client can use an IOCTL_SERIAL_GET_TIMEOUTS request.

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

Input

The AssociatedIrp.SystemBuffer points to a client-allocated SERIAL_TIMEOUTS structure that is used to input read and write time-out values.

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

Output

None.

I/O 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 the read time-out values exceed the maximum permitted values.

Requirements

Headers: Defined in ntddser.h. Include ntddser.h.

See Also

IOCTL_SERIAL_GET_TIMEOUTS


Send feedback on this topic
Built on November 19, 2009
© 2010 Microsoft Corporation. All rights reserved.   Terms of Use | Trademarks | Privacy Statement
Page view tracker
Rate the Lightweight library
x
Lightweight builds on ScriptFree (loband) by adding features you've requested: a SearchBox and default code language selection.
Do you like the SearchBox?
Do you like the tabbed code blocks?
How useful is this topic?
Tell us more.
Thanks
x
You're helping to improve MSDN Online.
Feedback
Switch View
Classic
Lightweight Beta
ScriptFree
Switch View