IsSpindownDisabled
You can use theIsSpindownDisabledfunction to find out whether automatic hard disk spindown is enabled.
Boolean IsSpindownDisabled();DESCRIPTION
TheIsSpindownDisabledfunction returns a Booleantrueif automatic hard disk spindown is disabled, orfalseif spindown is enabled.ASSEMBLY-LANGUAGE INFORMATION
The trap is_PowerMgrDispatch($A09E). The selector value forIsSpindownDisabledis 8 ($08) in the low word of register D0. The Boolean result is passed in the low byte of register D0.