Hi, everybody !
I can't use the API TerminateProcess(hprocess,uexitcode) if I don't know any process (hprocess or uexitcode) information. The only way that I got was the API GetCurrentProcess() but it returns the Handle of my application. Please, I want to do a program like task manager and I want to know the handle of other processes that is running at same time in Windows.
I can use ExitProcess either but I need the parameters too.
Resuming : I want to know how to use TerminateProcess or ExitProcess to kill any process(Program) that is running.

Thanks ! Obs:Answers to [email protected]