Stop windows shutdown

  • Thread starter Thread starter Maurice Mertens
  • Start date Start date
M

Maurice Mertens

To all,

does anyone know how to stop windows shutting down the computer? I.e. when
a user didn't save all his changes and windows tries to shutdown, the user
gets a messagebox to save the changes.

After this windows will shutdown.


--
Met vriendelijke groet / With regards / Saludos,
Moviat Automatisering


Maurice Mertens
mauricem@moviat_KillSpamWordForEMail.nl

tel: +31 162 470 534
fax: +31 162 470 502
 
If you are writing a user-level app, search MSDN (.NET Filter) for
"PowerModeChangedEventHandler".

If you are writing a service, search MSDN (.NET Filter) for "ServiceProcess"
and/or "ServiceBase".

hth,
ej
 
Back
Top