EnumProcesses() vs CreateToolhelp32Snapshot()

Viewed 20933

I was wondering if there are any differences - mostly performance wise - between the two Win32 API functions EnumProcesses() and CreateToolhelp32Snapshot() for enumerating all active processes and loaded modules. Or if one is better than the other to use and why.

5 Answers
Related