Important: The information in this document is obsolete and should not be used for new development.
IsAutoSlpControlDisabled
You can use theIsAutoSlpControlDisabledfunction to find out whether automatic sleep control is enabled.
Boolean IsAutoSlpControlDisabled();DESCRIPTION
TheIsAutoSlpControlDisabledfunction returns a Booleantrueif automatic sleep control is disabled, orfalseif automatic sleep control is enabled.ASSEMBLY-LANGUAGE INFORMATION
The trap is_PowerMgrDispatch($A09E). The selector value forIsAutoSlpControlDisabledis 33 ($21) in the low word of register D0. The Boolean result is passed in the low byte of register D0.