Important: The information in this document is obsolete and should not be used for new development.
IsDimmingControlDisabled
You can use theIsDimmingControlDisabled
function to find out whether automatic dimming is enabled.
Boolean IsDimmingControlDisabled();DESCRIPTION
TheIsDimmingControlDisabled
function returns a Booleantrue
if automatic dimming is disabled, orfalse
if dimming is enabled.ASSEMBLY-LANGUAGE INFORMATION
The trap is_PowerMgrDispatch
($A09E). The selector value forIsDimmingControlDisabled
is 32 ($20) in the low word of register D0. The Boolean result is passed in the low byte of register D0.SEE ALSO
You can use thePMFeatures
function (page 6-41) to determine whether the computer supports automatic dimming.