For a Win32 C++ console application, I need to be able to enumerate the list of processes and get a CPU utilization percentage for each process, similar to what appears in the task manager.
I can't use .NET
I can't use Delphi (for some reason so many examples are for delphi)
I can only use Win32 and C++.
How do I achieve that?