Wake up from Sleep

G

Guest

Hi,

Does anyone have any ideas on how to implement a "sleep" mode and a
subsequent wake up from that sleep mode automatically via a timer in XPE?

If the motherboard has a real-time clock, would XPE allow the programming of
this clock to trigger an event that would wake the XPE system from its sleep
mode?

We have a requirement to allow the user to program a sleep schedule that
takes the XPE system down all the way and then back up again at a
predetermined time. I'm not familiar enough yet with XPE to know what is
possible and I would appreciate any help any of you can provide.

Thanks!
 
K

KM

tvle,

Check out SetWaitableTimer API..
Just set parameter fResume=TRUE.

Along with the SetSystemPowerState/SetThreadExecutionState you carete any scheduled procedure for wake/sleep.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top