Windows API’s which will show the running processes

cprocessvisual c++winapiwindows

I want to create a tool like mini task manager. I want to show all the running processes, cpu and memory usage. Can anybody tell me related api's which I can use for this. Any link to related web page will be appreciated. (I want dump of all the statistics of running processes, cpu and memory.) Thanks in advance.

Best Answer

To do that, you will need to use the tool help functions to get snapshots of the system.

Here is a code example.