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


  

GetGray (csCode = 6)

The required GetGray routine describes the behavior of subsequent SetEntries control calls to indexed devices.

OSErr = Status(theDeviceRefNum, cscGetGray, &theVDGrayRecord );
<-- csMode
Luminance mapping enabled or disabled

The csMode parameter returns 0 if luminance mapping is disabled or 1 if it is enabled.


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