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