home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / os / os2 / programm / 6543 < prev    next >
Encoding:
Internet Message Format  |  1992-11-18  |  1.2 KB

  1. Path: sparky!uunet!ogicse!flop.ENGR.ORST.EDU!prism!
  2. From: @prism.cs.orst.edu
  3. Newsgroups: comp.os.os2.programmer
  4. Subject: VIOCOLORREG questions
  5. Message-ID: <1eete1INNnj6@flop.ENGR.ORST.EDU>
  6. Date: 19 Nov 92 02:16:33 GMT
  7. Article-I.D.: flop.1eete1INNnj6
  8. Distribution: world
  9. Organization: CS Dept, Oregon State University
  10. Lines: 19
  11. NNTP-Posting-Host: prism.cs.orst.edu
  12.  
  13. OK, I posted a similar question a week or two ago and got absolutely no
  14. response. So here it comes again because I know SOMEONE has to have an
  15. answer...
  16.  
  17. I am writing a full screen application using Vio calls and I need to muck
  18. about with the VGA's DAC registers. In looking through the header files I
  19. found the structure VIOCOLORREG and thought that it would let me change
  20. the values of the DAC. So I looked for the function call that would take
  21. this structure and do something important with it. The functions are
  22. VioGetState and VioSetState. The problem seems to be that these functions
  23. can also take 5 other structures, with seemingly no differences aside from
  24. their size (in some cases) and the value of type. Now I suppose that type
  25. is the key value here, but I have no idea of what is needed and/or if this
  26. is the correct idea or not anyway.
  27.  
  28. I really need an answer here.
  29.  
  30. Thanks
  31. Keith
  32.