TIP: Click on subject to list as thread! ANSI
echo: os2prog
to: Jonathan De Boyne Pollard
from: Charles Gaefke
date: 1996-11-07 22:19:00
subject: Re: DosDevIOCtl for COM port

JD>   When a port is "locked", the BPS rate cannot be changed by an
JD>   application program.

    Okay, then how does an application program change the BPS rate?

JD>   If an application can change the BPS rate of a serial device, then the
JD>   device is not, by definition, "locked".

    Does it have to "unlock" it first, and then
"relock" it?  I haven't seen 
anything the IOCtl functions for locking and unlocking.

JD>   Your parameter packet is wrong.  The parameter packet comprises two
JD>   fields, a rate field and a fraction field, as described in the on-line
JD>   reference for DosDevIOCtl.

    I know it is.  That was my first attempt.  I've since revised it quite a 
bit. :)


C. Gaefke
cdgaefke{at}sgi.net
[CDRMAIL Author]

--- RG05-11/CDRMAIL 1.04
* Origin: LOTL/2 * 412 746 3592 * V34 33.6k * RGSNet PA Host (1:129/230)
SEEN-BY: 50/99 270/101 620/243 625/160 711/401 409 410 413 430 808 809 934
SEEN-BY: 711/955 712/407 515 624 628 713/317 800/1
@PATH: 129/230 11 270/101 712/515 711/808 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™.