// ntddser.h
typedef struct _SERIAL_BAUD_RATE {
ULONG BaudRate;
} SERIAL_BAUD_RATE, *PSERIAL_BAUD_RATE;
View the official Windows Driver Kit DDI referenceNo description available.
The SERIAL_BAUD_RATE structure specifies the baud rate at which a serial port is currently configured to transmit and receive data.
BaudRateThe baud rate. This parameter specifies the number of bits per second that a serial port is currently configured to transmit or receive. For example, a BaudRate value of 115200 indicates that the port is configured to transfer 115,200 bits per second.
The IOCTL_SERIAL_GET_BAUD_RATE and IOCTL_SERIAL_SET_BAUD_RATE I/O control requests use the SERIAL_BAUD_RATE structure to specify the baud rate of a serial port. The IOCTL_SERIAL_SET_BAUD_RATE request configures a serial port to operate at a specified baud rate. The IOCTL_SERIAL_GET_BAUD_RATE request queries a serial port for the baud rate that it is currently configured to operate at.
For more information about some of the possible baud rates that a serial controller driver might support, see the description of the MaxBaud member in SERIAL_COMMPROP.