[python-win32] Catch system level events in python

2010-02-28 Thread Jan Schneider
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

Re: [python-win32] Catch system level events in python

2010-02-28 Thread Tim Roberts
You wrote: 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? This is trickier than you might