GetDimmingTimeout
You can use theGetDimmingTimeoutfunction to find out how long the computer will wait before dimming the screen.
unsigned char GetDimmingTimeout();DESCRIPTION
TheGetDimmingTimeoutfunction returns the amount of time that the computer will wait after the last user activity before dimming the screen. The value ofGetDimmingTimeoutis expressed as the number of 15-second intervals that the computer will wait before dimming the screen.ASSEMBLY-LANGUAGE INFORMATION
The trap is_PowerMgrDispatch($A09E). The selector value forGetDimmingTimeoutis 29 ($1D) in the low word of register D0. The dimming timeout value is returned in the low word of register D0.