Important: The information in this document is obsolete and should not be used for new development.
IsDimmingControlDisabled
You can use theIsDimmingControlDisabledfunction to find out whether automatic dimming is enabled.
Boolean IsDimmingControlDisabled();DESCRIPTION
TheIsDimmingControlDisabledfunction returns a Booleantrueif automatic dimming is disabled, orfalseif dimming is enabled.ASSEMBLY-LANGUAGE INFORMATION
The trap is_PowerMgrDispatch($A09E). The selector value forIsDimmingControlDisabledis 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 thePMFeaturesfunction (page 6-41) to determine whether the computer supports automatic dimming.