Hi there,
I have a service which resides in session 0.
I can create a process (a WinForm application) in user session by calling CreateProcessAsUser(...).
In some situation, I need to close the process created by my service, so I call TerminateProcess(...) to close it.
However, the process has no change to release its resource if I call TerminateProcess(...) from my service.
Is there any solution to close a process from a service and the process can release its resource?
Thanks in advance.