Important: The information in this document is obsolete and should not be used for new development.
SetSpindownDisable
You can use theSetSpindownDisable
function 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
TheSetSpindownDisable
function enables or disables hard disk spindown, depending on the value ofsetDisable
. If the value ofsetDisable
istrue
, hard disk spindown is disabled; if the value isfalse
, spindown is enabled.Disabling hard disk spindown affects the
SpinDownHardDisk
function, 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 forSetSpindownDisable
is 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
TheSpinDownHardDisk
function is described on page 6-50.