Showing all running processes like in taskmanager

Hi.
I want to show all running processes of windows.
my motive is whenever any running process closes/quits whether it be console or window based on windows it notify(s) me or user that some .exe has been closed.
please tell me how should i start.Any window API related to it.

Thanks.
Topic archived. No new replies allowed.