// ntddser.h
// CTL_CODE(0x001b, 0x002, METHOD_BUFFERED, FILE_ANY_ACCESS)
#define IOCTL_SERIAL_SET_QUEUE_SIZE 0x001B0008
View the official Windows Driver Kit DDI referenceNo description available.
The IOCTL_SERIAL_SET_QUEUE_SIZE request sets the size of the internal receive buffer. If the requested size is greater than the current receive buffer size, a new receive buffer is created. Otherwise, the receive buffer is not changed.
The AssociatedIrp.SystemBuffer member points to a client-allocated SERIAL_QUEUE_SIZE structure that is used to input a receive buffer size.
The Parameters.DeviceIoControl.InputBufferLength member is set to the size, in bytes, of a SERIAL_QUEUE_SIZE structure.
None.
None.
The Information member is set to zero.
The Status member is set to one of the Generic Status Values for Serial Device Control Requests.