TIP: Click on subject to list as thread! ANSI
echo: os2prog
to: Gary Chambers
from: Jim Louvau
date: 1994-11-12 23:05:40
subject: ASYNC_GETBAUDRATE

Gary Chambers wrote in a message to All:

 GC> What am I supposed to do when I query the baud rate of the
 GC> comm port and it's locked at 115.2kbps?  Specifically,
 GC> DosDevIOCtl(IOCTL_ASYNC, ASYNC_GETBAUDRATE, ... ) returns
 GC> (supposedly) only USHORT; how do I get the actual baud rate,
 GC> if it's above 65535 (sizeof(USHORT)) bps?  Thanks...

There's a second, get EXTENDED bitrate function (no defined label in the
headers... you need to use the number and I don't remember at the moment).
BTW, you may want to look it up in the docs, since it returns a structure
(and the set extended bitrate function uses yet a different structure).

-jL [ Team-OS/2 ]

--- timEd/2 1.01.b13+

* Origin: Alternatives CBIS (1:290/4)
SEEN-BY: 12/2442 54/54 620/243 624/50 632/348 640/820 690/660 711/409 410 413
SEEN-BY: 711/430 807 808 809 934 942 949 712/353 623 713/888 800/1
@PATH: 290/4 627 280/1 396/1 3615/50 229/2 12/2442 711/409 54/54 711/808 809
@PATH: 711/934

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.