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


  

GetMode (csCode = 2)

The required GetMode routine returns the current relative bit depth, page, and base address.

OSErr = Status(theDeviceRefNum, cscGetMode, &theVDPageInfo );
<-- csMode
Current relative bit depth
-- csData
Unused
<-- csPage
Current display page
<-- csBaseAddr
Base address of video RAM for the current DisplayModeID and relative bit depth

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