🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: DosDevIOCtl

#813
From: Cliff Nadler
Date: Mon, 07 Sep 1992 17:17
20 lines
1434 bytes
In  <1992Sep7.014647.4906@news.Hawaii.Edu>  tholen@hale.ifa.hawaii.edu (Dave Tholen) writes:
> I have a 16-bit OS/2 application that I would like to recompile for 32-bit
> OS/2.  This application currently uses KbdCharIn to retrieve keystrokes
> from the keyboard.  There is no 32-bit version of KbdCharIn, though it
> appears that DosDevIOCtl, Category 4, Function 74H, "Read Character Data
> Records" may be a satisfactory substitute.
> 

Keep using KbdCharIn. It's still there, but it's not in the toolkit. I believe
the header files still have the definition for it (but look for Kbd16CharIn),
and you'll need os2286.lib on your link step.

It's much more fun than dealing with the new 32-bit DosDevIOCTL if you don't
have the manuals.

--
Cliff Nadler (cnadler@vnet.ibm.com)
IBM Federal Systems Company - TEAM OS/2

Disclaimer: This post represents the views of the poster, not IBM Corporation.
Technical Details
Message-ID: <1992Sep07.171731.10950@watson.ibm.com>
Path: arc1-ca.pugleaf.net!sparky!uunet!newsgate.watson.ibm.com!yktnews!admin!watson!
References: <1992Sep7.014647.4906@news.Hawaii.Edu>

Show Full Headers
Complete Article Headers
Newsgroups: comp.os.os2.programmer
Path: arc1-ca.pugleaf.net!sparky!uunet!newsgate.watson.ibm.com!yktnews!admin!watson!
From: cnadler@vnet.ibm.com (Cliff Nadler)
Subject: Re: DosDevIOCtl
Sender: @watson.ibm.com
Message-ID: <1992Sep07.171731.10950@watson.ibm.com>
Date: Mon, 07 Sep 92 17:17:31 GMT
News-Software: IBM OS/2 PM RN (NR/2) v0.11 by O. Vishnepolsky and R. Rogers
Lines: 20
Reply-To: cnadler@vnet.ibm.com (Cliff Nadler)
References: <1992Sep7.014647.4906@news.Hawaii.Edu>
Organization: IBM T. J. Watson Research