home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / os / os2 / programm / 4249 < prev    next >
Encoding:
Text File  |  1992-08-16  |  956 b   |  30 lines

  1. Newsgroups: comp.os.os2.programmer
  2. Path: sparky!uunet!decwrl!csus.edu!netcom.com!feustel
  3. From: feustel@netcom.com (David Feustel)
  4. Subject: Help with os/2 v2.0 comm ioctls needed
  5. Message-ID: <n!9m8yk.feustel@netcom.com>
  6. Date: Mon, 17 Aug 92 01:13:27 GMT
  7. Organization: DAFCO: OS/2 Software Support & Consulting
  8. Lines: 20
  9.  
  10. I'm trying to initialize the com2 port with DosDevIOCtl calls.
  11. I keep getting error 87 - invalid parameter but I don't spot the
  12. error.
  13.  
  14. Can someone send me an example of the ioctl calls
  15. - initializing the baud rate,
  16. - setting the line parameters (data bits, parity and stop bits)
  17. - setting the modem control bits?
  18.  
  19. The tech library documentation is pretty skimpy on this topic.
  20.  
  21. Thanks.
  22. -- 
  23. Dave Feustel N9MYI <feustel@netcom.com>
  24. ---
  25. Given Civil Seizure, from the DEA's point of view, winning the War on
  26. Drugs would be killing the Goose that lays golden eggs.
  27.  
  28. It's also hard to tell which group is up to more no-good: cops or
  29. crooks.
  30.