Previous Book Contents Book Index Next

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


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

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

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.

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