I want to prevent windows (xp and 7) from shutting down. For that it seems I have to intercept the WM_QUERYENDSESSION message and return False.
Ok I have to