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


  

GetPowerState (csCode = 25)

The optional GetPowerState routine reports the display hardware's current power state.

OSErr = Status (theDeviceRefNum, cscGetPowerState, &theVDPowerStateRec );
<-- powerState
Current power state of display hardware
<-- powerFlags
Status of current state

Set kPowerStateNeedsRefreshBit in powerFlags if VRAM decays in the current power state.


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