🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.os2.programmer
Article #303

Setting up a serial port with DosDevIOCtl

#303
From: Rick Pack
Date: Sat, 08 Aug 1992 04:47
19 lines
1161 bytes
   I have the IBM Workset/2 and am trying to set up a serial port using the
DosDevIOCtl function call.  Apparently it's syntax has changed from past
versions of OS/2.  The sample code and old (circa 1.2) manuals I have list
the parameters in a different order from that given by the Workset/2 online
help.

   Unfortunately, the online help only tells how the pointers to the parameter
blocks are passed, not what should be IN the parameter blocks.

   Does anyone have any info - possibly a bit of sample code on setting the
baud rate, stop bits, etc. using this function?  (... and what the heck book
does one find this stuff in?)


-- 
Rick Pack   -WC7W- 
Evans & Sutherland Computer Corp.
Salt Lake City, Utah
(801) 582-5847
Technical Details
Message-ID: <1992Aug8.044745.29124@javelin.sim.es.com>
Path: arc1-ca.pugleaf.net!sparky!uunet!orca!javelin.sim.es.com!rpack

Show Full Headers
Complete Article Headers
Newsgroups: comp.os.os2.programmer
Path: arc1-ca.pugleaf.net!sparky!uunet!orca!javelin.sim.es.com!rpack
From: rpack@javelin.sim.es.com (Rick Pack)
Subject: Setting up a serial port with DosDevIOCtl
Message-ID: <1992Aug8.044745.29124@javelin.sim.es.com>
Sender: Rick Pack
Reply-To: rpack@javelin.sim.es.com
Organization: Evans & Sutherland Computer Corp., Salt Lake City, Utah
Date: Sat, 8 Aug 1992 04:47:45 GMT
Lines: 19