Important: The information in this document is obsolete and should not be used for new development.
SetSpindownDisable
You can use theSetSpindownDisablefunction to disable hard disk spindown.
void SetSpindownDisable(Boolean setDisable);
setDisable- A Boolean that specifies whether the spindown feature is enabled (
false) or disabled (true).DESCRIPTION
TheSetSpindownDisablefunction enables or disables hard disk spindown, depending on the value ofsetDisable. If the value ofsetDisableistrue, hard disk spindown is disabled; if the value isfalse, spindown is enabled.Disabling hard disk spindown affects the
SpinDownHardDiskfunction, as well as the normal spindown that occurs after a period of hard disk inactivity.ASSEMBLY-LANGUAGE INFORMATION
The trap is_PowerMgrDispatch($A09E). The selector value forSetSpindownDisableis 9 ($09) in the low word of register D0. The Boolean value to set is passed in the high word of register D0.SEE ALSO
TheSpinDownHardDiskfunction is described on page 6-50.