Article View: comp.os.os2.programmer
Article #7132 bit Device Helper Functions for OS/2 2.0.
From: Malathi Ramdas
Date: Fri, 30 Oct 1992 18:03
Date: Fri, 30 Oct 1992 18:03
16 lines
1425 bytes
1425 bytes
Is there anyone out there using the 32-bit Device Helper functions using
Steve Mastrianni's C-Callable Devcie Helper Library? I am writing an OS/2
2.0 character device driver, using this library to access the Device Helper
Functions. For IOCtl calls, instead of doing a LockSeg which
locks up a whole segment in memory ( my parameter buffers are only about 15
bytes in size , I am trying to convert the virtual memory to linear
memory using the device helper function 'VirtToLin' and then do a 'VmLock'
to lock down a page in memory. The 'VirtToLin' call seems to be going through
alright but VMLock' is failing (returns a value of 1 in ax) altho I think I am
doing the right setting up. If anyone happens to be doing this sort of stuff
I would really appreciate it if you could mail me a small sample code of how the
parameters need declared and initialized (for VMLock). My email address is
ramdas@eagle.natinst.com.
Thanks a lot
Malti Ramdas
Technical Details
Message-ID:
<1crtd1INN9b9@eagle.natinst.com>Path:
arc1-ca.pugleaf.net!sparky!uunet!charon.amdahl.com!pacbell.com!ames!sun-barr!cs.utexas.edu!natinst.com!natinst.com!not-for-mailShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!charon.amdahl.com!pacbell.com!ames!sun-barr!cs.utexas.edu!natinst.com!natinst.com!not-for-mail From: ramdas@natinst.com (Malathi Ramdas) Newsgroups: comp.os.os2.programmer Subject: 32 bit Device Helper Functions for OS/2 2.0. Date: 30 Oct 1992 12:03:13 -0600 Organization: National Instruments, Austin, TX Lines: 16 Distribution: world Message-ID: <1crtd1INN9b9@eagle.natinst.com> NNTP-Posting-Host: eagle.natinst.com