SERIAL_BAUD_RATE structure

The SERIAL_BAUD_RATE structure specifies the baud rate at which a serial port is currently configured to transmit and receive data.

Syntax


typedef struct _SERIAL_BAUD_RATE {
  ULONG BaudRate;
} SERIAL_BAUD_RATE, *PSERIAL_BAUD_RATE;

Members

BaudRate

The 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.

Remarks

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.

Requirements

Version

Supported starting with Windows 2000.

Header

Ntddser.h

See also

IOCTL_SERIAL_GET_BAUD_RATE
IOCTL_SERIAL_SET_BAUD_RATE
SERIAL_COMMPROP

 

 

Send comments about this topic to Microsoft

Show: