title: Block windows shutdown
body: <p>I need execute some code before Windows shutdown process each time. So, I want block Windows shutdown process for some time. How can i do it from Java or C++ Builder ?</p>
  
  <p>Thanks.</p>