I want to be able to intercept the shutdown event in C# for Windows Vista. Due to the advanced security features with Vista, any applications that are running after the shutdown command is called are halted and displayed in a list, prompting the user to do something with them.
Does anybody know how to overcome this and what events I need to be using in Vista.
Thanks.