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