can my app know that windows is shutting down?

Printable View