views:

18

answers:

0

Here is my case. I have a process running in my system. I want that process to end last when a shutdown/logoff is initiated. I read http://msdn.microsoft.com/en-us/library/ms683221%28VS.85%29.aspx and understood that we can assign shutdown levels to process.But I couldn't figure out how to do that.

Can anyone help me with a example on how to get and set shutdown levels for a given process?