Can a Windows Service do something when a computer "goes to sleep"?

  • Thread starter Thread starter Yuan Wong
  • Start date Start date
Y

Yuan Wong

Guest
I've tried some functions in service on S3.

Success : Received NetworkAddressChanged Event  
Fail :1. get key event(I know it's about security.)
  2. get windows OS version by WMI command
  3. timer
4. simulate key press by keybd_event
5. wake up system with SetWaitableTimer

It seems the service can only receive message and do nothing like file transferring while the system is asleep.

Continue reading...
 
Back
Top