home *** CD-ROM | disk | FTP | other *** search
/ Apple Developer Connection 1998 Fall: Game Toolkit / Disc.iso / SDKs / PCI Driver Development Kit / • Samples / Driver Samples / Video samples / GDX 950717 / GDX / GraphicsCoreControl.h < prev    next >
Encoding:
C/C++ Source or Header  |  1996-08-20  |  1.7 KB  |  45 lines  |  [TEXT/MPS ]

  1. /*
  2.     File:        GraphicsCoreControl.h
  3.  
  4.     Contains:    Declarations for the the routines that implement the driver's 'Control' calls.
  5.  
  6.     Written by:    Sean Williams, Kevin Williams
  7.  
  8.     Copyright:    © 1994-1995 by Apple Computer, Inc., all rights reserved.
  9.  
  10.     Change History (most recent first):
  11.  
  12.          <1>          4/15/95    SW        First Checked In
  13.  
  14. */
  15.  
  16. #ifndef __GRAPHICSCORECONTROL__
  17. #define __GRAPHICSCORECONTROL__
  18.  
  19. #include "GraphicsPriv.h"
  20. #include <Video.h>
  21.  
  22.  
  23. // Declaration of Core driver calls
  24. // These are the declarations for the meat of the driver Control routines.
  25.  
  26. GDXErr GraphicsCoreSetMode(VDPageInfo *pageInfo);                                        // csCode = 2
  27. GDXErr GraphicsCoreSetEntries(const VDSetEntryRecord *setEntry);                        // csCode = 3
  28. GDXErr GraphicsCoreSetGamma(const VDGammaRecord *gamma);                                // csCode = 4
  29. GDXErr GraphicsCoreGrayPage(const VDPageInfo *pageInfo);                                // csCode = 5
  30. GDXErr GraphicsCoreSetGray(VDGrayRecord *grayPtr);                                        // csCode = 6
  31. GDXErr GraphicsCoreSetInterrupt(const VDFlagRecord *flag);                                // csCode = 7
  32. GDXErr GraphicsCoreDirectSetEntries(const VDSetEntryRecord *setEntry);                    // csCode = 8
  33. GDXErr GraphicsCoreSwitchMode(VDSwitchInfoRec *switchInfo);                                // csCode = 10
  34. GDXErr GraphicsCoreSetSync(VDSyncInfoRec *sync);                                        // csCode = 11
  35. GDXErr GraphicsCoreSetPreferredConfiguration(const VDSwitchInfoRec *switchInfo);        // csCode = 16
  36. GDXErr GraphicsCoreSetHardwareCursor(const VDSetHardwareCursorRec *setHardwareCursorParams);    // csCode = 22
  37. GDXErr GraphicsCoreDrawHardwareCursor(const VDDrawHardwareCursorRec *drawHardwareCursorParams);    // csCode = 23
  38. GDXErr GraphicsCoreSetPowerState(VDPowerStateRec *vdPowerState);                        // csCode = 25
  39.  
  40.  
  41. #endif    // __GRAPHICSCORECONTROL__
  42.  
  43.  
  44.  
  45.