Legacy Documentclose button

Important: The information in this document is obsolete and should not be used for new development.

Previous Book Contents Book Index Next

Inside Macintosh: Devices /
Chapter 6 - Power Manager / Power Manager Reference
Power Manager Dispatch Routines / Controlling the Dimming Timer


IsDimmingControlDisabled

You can use the IsDimmingControlDisabled function to find out whether automatic dimming is enabled.

Boolean IsDimmingControlDisabled();
DESCRIPTION
The IsDimmingControlDisabled function returns a Boolean true if automatic dimming is disabled, or false if dimming is enabled.

ASSEMBLY-LANGUAGE INFORMATION
The trap is _PowerMgrDispatch ($A09E). The selector value for IsDimmingControlDisabled 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 the PMFeatures function (page 6-41) to determine whether the computer supports automatic dimming.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
3 JUL 1996