Mombu the Programming Forum sponsored links

Go Back   Mombu the Programming Forum > Programming > Forcing a running screensaver to terminate
User Name
Password
REGISTER NOW! Mark Forums Read

sponsored links


Reply
 
1 26th February 11:43
tina
External User
 
Posts: 1
Default Forcing a running screensaver to terminate



Can I use the msdn article on "How to force a screen saver to close
once started in Windows NT, Windows 2000, and Windows Server 2003" to
close my running screensaver given:

o I launch the screensaver myself using CreateProcess
o The actual windows screensaver is disabled

It seems that when I follow the article, I am not able to ever get the
desktop of the running screensaver therefore am not able to terminate
it. Any other ways around this? Should this call

OpenDesktop(TEXT("Screen-saver"), 0, FALSE, DESKTOP_READOBJECTS |
DESKTOP_WRITEOBJECTS);

contain a different lpszDesktop name?
  Reply With Quote


  sponsored links


Reply


Thread Tools
Display Modes




Copyright © 2006 SmartyDevil.com - Dies Mies Jeschet Boenedoesef Douvema Enitemaus -
666