I wanted to programatically determine when a process has terminated. I searched in various forums and came across the PsSetCreateProcessNotifyRoutine
routine.
Also, I came across a similar StackOverflow question:
.NET Events for Process executable start.
In the accepted answer I see a query that I can possibly use. I am however unable to quite comprehend the query.
Can someone suggest a way I can implement my solution?