SERIAL_QUEUE_SIZE structure

The SERIAL_QUEUE_SIZE structure is used to resize the input buffer that the serial controller driver uses for serial receive operations.

Syntax


typedef struct _SERIAL_QUEUE_SIZE {
  ULONG InSize;
  ULONG OutSize;
} SERIAL_QUEUE_SIZE, *PSERIAL_QUEUE_SIZE;

Members

InSize

Number of bytes requested for the input buffer. For more information, see Remarks.

OutSize

Not used. Set to zero.

Remarks

This structure is used by IOCTL_SERIAL_SET_QUEUE_SIZE requests to specify the size requested for the new input buffer. This buffer is used internally by the serial controller driver to hold data received from the serial controller until the data can be copied to an IRP_MJ_READ request packet. If the requested buffer size is greater than the current receive buffer size, a new receive buffer is created. Otherwise, the receive buffer is not changed.

Requirements

Header

Ntddser.h

See also

IOCTL_SERIAL_SET_QUEUE_SIZE
IRP_MJ_READ

 

 

Send comments about this topic to Microsoft

Show: