Wake up desktop after Suspend using SetSystemPowerState/SetSuspendState in Win 2k/XP

Wake up desktop after Suspend using SetSystemPowerState/SetSuspendState in Win 2k/XP

Post by Neelima Muki » Fri, 23 May 2003 16:17:24



Hi,

I have an application that puts the system into Suspend state using
SetSuspendState/SetSystemPowerState. I create a waitable timer using
CreateWaitableTimer and call SetWaitableTimer before doing the
suspend. After the timer has elapsed ( i get it using
WaitForSingleObject ), I can see the power coming to the system and
the monitor, i.e the lights stop blinking and are on steadily. But I
am unable to refresh the display. The screen is still blank, till I
move the mouse or do a key press.

Wakeup after hibernate works though..

How can I refresh the display/wake up the monitor ? Any pointers to
this would be appreciated.

Thanks & regards,
Neelima

 
 
 

1. Direct Cable in Win 2k/ Win XP ?

Dear all,

     Wish to enquire whether there is a Direct Cable sub-
component which I can install from the Communication
component in Win2k and WinXP ? I can find the Direct Cable
in the Communication Component in Win 95 and Win 98, but
can't find it in Win2k and WinXP. Please inform whether it
is possible to install the direct cable component in Win2k
and WinXP ? Thanks in advance.

Best Regards,
Yow.

2. Epson 2200 printer lightfastness

3. XSL in win 2k server / win xp pro

4. Terminal services

5. ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||

6. FS: 18 GB RAID, SCSI card, cable, software, No Res on eBay

7. |R|e|:| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||

8. EDO SIMMS for Apollo 1240

9. ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||

10. Porting from XP to 2k, ZwOpenFile/ZwCreatFile causes REBOOT on 2k :( HELP ME!

11. Suspend mode - wake-up the monitor after

12. VC++5 locks up XP Pro, does not Win 2K or NT4

13. programmatically wake from suspend