Posted 09 March 2015 - 09:03 AM
I was wondering if it's possible to have custom shut-down logic (like how using puling raw events allows for custom termination).
The way I think of it would be, if there some event that gets fired when the computer shuts down (or reboots), then that could be used.
I guess my question is, is this even possible? And how could you do it?
I do have one other idea using a persistent state machine, if the state is not shut down while the program is starting then, do something.
The way I think of it would be, if there some event that gets fired when the computer shuts down (or reboots), then that could be used.
I guess my question is, is this even possible? And how could you do it?
I do have one other idea using a persistent state machine, if the state is not shut down while the program is starting then, do something.