Important: The information in this document is obsolete and should not be used for new development.
SetWakeupTimer
You can use theSetWakeupTimer
function to set the time when the computer will wake up from sleep mode.
void SetWakeupTimer(WakeupTime *theTime);
theTime
- A pointer to a WakeupTime structure, which specifies whether to enable or disable the timer and the time at which the wakeup timer is to wake the computer.
DESCRIPTION
TheSetWakeupTimer
function sets the time when the computer will wake up from sleep mode and enables or disables the timer. On a PowerBook model that doesn't support the wakeup timer,SetWakeupTimer
does nothing.ASSEMBLY-LANGUAGE INFORMATION
The trap is_PowerMgrDispatch
($A09E). The selector value forSetWakeupTimer
is 23 ($17) in the low word of register D0. The pointer toWakeupTime
is passed in register A0.SEE ALSO
The WakeupTime structure is described in "Wakeup Time Structure," on page 6-27.