Legacy Documentclose button

Important: The information in this document is obsolete and should not be used for new development.

Previous Book Contents Book Index Next

Inside Macintosh: Devices /
Chapter 6 - Power Manager / Power Manager Reference
Power Manager Dispatch Routines / Controlling the Hard Disk


SpinDownHardDisk

You can use the SpinDownHardDisk function to force the hard disk to spin down.

void SpinDownHardDisk();
DESCRIPTION
The SpinDownHardDisk function immediately forces the hard disk to spin down and power off if it was previously spinning. Calling SpinDownHardDisk will not spin down the hard disk if spindown is disabled by calling the SetSpindownDisable function.

ASSEMBLY-LANGUAGE INFORMATION
The trap is _PowerMgrDispatch ($A09E). The selector value for SpinDownHardDisk is 7 ($07) in the low word of register D0.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
3 JUL 1996