[python-win32] Catch system level events in python

Jan Schneider jan at janschneider.net
Sun Feb 28 15:07:05 CET 2010


Hi,

i am developing a windows service using python-win32.
Now I am searching for a possibility to get a notification when a user is 
trying to shutdown the system.
In certain cases I need to cancel this shutdown,
Does anyone knows how this could be done?

Is it possible to catch system level events in python like in other 
programming languages as for example C#:
http://mail.python.org/pipermail/python-win32/2008-January/006645.html

Thanks,
Jan


More information about the python-win32 mailing list