I have an service application that spawns a child user process and monitors for its termination. I will need to handle a case where a shutdown is initiated BUT later aborted by some desktop application so I can re-spawn the child process. I am totally aware of all the system event notifications BUT they wont do the job as there is no way to detect that shutdown is aborted afterwards.
So the question is whether there is an API function that could get me a current state of OS shutdown operation.
Thanks!