home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / os / os2 / programm / 6377 < prev    next >
Encoding:
Text File  |  1992-11-12  |  1.2 KB  |  26 lines

  1. Newsgroups: comp.os.os2.programmer
  2. Path: sparky!uunet!charon.amdahl.com!pacbell.com!sgiblab!swrinde!zaphod.mps.ohio-state.edu!uwm.edu!cs.utexas.edu!qt.cs.utexas.edu!yale.edu!ira.uka.de!gate.fzi.de!fzi.DE!auhl
  3. From: auhl@fzi.DE (Axel Uhl)
  4. Subject: What to do with an LDT descriptor
  5. Message-ID: <1992Nov12.185740.1829@fzi.de>
  6. Sender: news@fzi.de (FZI-news)
  7. Reply-To: fzi.de
  8. Organization: Forschungszentrum Informatik (FZI), Karlsruhe, Germany
  9. Date: Thu, 12 Nov 1992 18:57:40 GMT
  10. Lines: 14
  11.  
  12.  
  13. The online documentation tells about getting an LDT descriptor by a call
  14. to a category 3 function via DosIOCtl (don't know the function number at the
  15. moment, something aroud 70H).
  16. Now I have two questions. I know that this function yields the selector number.
  17. But where can I use this selector number? Do I have to set DS to this number
  18. in order to access the defined segment? And if so, how do I set DS from
  19. within C ?
  20. If I ask this function to create a descriptor for the video ram, and I'm running
  21. a text mode application in an OS/2 window, is the video ram mapped to match
  22. the window image, or will I modify the whole screen when touching the video
  23. ram through this selector?
  24.  
  25. Axel (auhl@fzi.de)
  26.