PATH 
ADC Home > Documentation > Hardware > Device Managers and Drivers > PCI Card Services > Designing PCI Cards and Drivers for Power Macintosh Computers


  

RetrieveGammaTable (csCode = 21)

The optional RetrieveGammaTable routine copies the designated gamma table into the designated location.

OSErr = Status (theDeviceRefNum, cscRetrieveGammaTable,
                     &theVDRetrieveGammaRec);
--> csGammaTableID
ID of gamma table to retrieve
<-> csGammaTablePtr
Location to copy table into

RetrieveGammaTable is used after a client has used the GetGammaInfoList routine to iterate over the available gamma tables and subsequently decides to retrieve one. It is the responsibility of the client to allocate and dispose of the memory pointed to by csGammaTablePtr.


© 1999 Apple Computer, Inc. – (Last Updated 26 March 99)