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.
Input Buffer Length
The Parameters.DeviceIoControl.InputBufferLength member is set to the size, in bytes, of a SERIAL_QUEUE_SIZE structure.
Output Buffer Length
Input / Output Buffer
Input / Output Buffer Length
The Information member is set to zero.
The Status member is set to one of the Generic Status Values for Serial Device Control Requests.
|Header||ntddser.h (include Ntddser.h)|