Important: The information in this document is obsolete and should not be used for new development.
SpinDownHardDisk
You can use theSpinDownHardDisk
function to force the hard disk to spin down.
void SpinDownHardDisk();DESCRIPTION
TheSpinDownHardDisk
function immediately forces the hard disk to spin down and power off if it was previously spinning. CallingSpinDownHardDisk
will not spin down the hard disk if spindown is disabled by calling theSetSpindownDisable
function.ASSEMBLY-LANGUAGE INFORMATION
The trap is_PowerMgrDispatch
($A09E). The selector value forSpinDownHardDisk
is 7 ($07) in the low word of register D0.