Using the Win32 API, you can only pause one thread using SuspendThread() , but not a complete process in one call.
Iterating over process threads and pausing them one at a time is not a good option, as this can lead to locks and unexpected behavior.
It is assumed that this is possible in the kernel using a function from DDK (I do not remember its name).
How can this function be brought into user mode?
Is there any other way to achieve this without resorting to the kernel?
SysInternals process researcher has the ability to pause a process. How it's done?
source share