Windows 3.1 Device Drivers (ddag31qh.hlp) (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
Baud-Rate Indexes
                                                     Up Next Previous
────────────────────────────────────────────────────────────────────────────
 
The communications driver supports very high baud rates, such as 128,000 and
256,000, by interpreting the BaudRate member of the DCB structure as a
baud-rate index whenever the high byte of the member is 0xFF. In such cases,
BaudRate can be one of the following values.
 
BaudRate  Value
────────────────────────────────────────────────────────────────────────────
110       CBR_110 (0xFF10)
 
300       CBR_300 (0xFF11)
 
600       CBR_600 (0xFF12)
 
1200      CBR_1200 (0xFF13)
 
2400      CBR_2400 (0xFF14)
 
4800      CBR_4800 (0xFF15)
 
9600      CBR_9600 (0xFF16)
 
14,400    CBR_14400 (0xFF17)
 
19,200    CBR_19200 (0xFF18)
 
38,400    CBR_38400 (0xFF1B)
 
56,000    CBR_56000 (0xFF1F)
 
128,000   CBR_128000 (0xFF23)
 
256,000   CBR_256000 (0xFF27)
 
Note:  The CBR_ values are for standardization; drivers are not required to
       support all indexed baud rates.
 
If the high byte of the BaudRate member is not 0xFF, BaudRate specifies the
actual baud rate for the communications device. In other words, values in
the range 2 through 65,279 (0xFEFF) are interpreted as baud rate values not
as indexes. This ensures compatibility with existing communications
drivers.
 
                                      ♦