void Suspendallthreads(void);
Suspends all threads in the debugged process. Calls to Suspendallthreads() can be nested with unlimited depth. If application is already paused, either on debugging event or due to the previous call to Suspendallthreads(), this function is very fast (it only increments the internal counter). Calls to Suspendallthreads() and Resumeallthreads() must match.
Unless the process is paused on the debugging event, always call this function before making any modifications, like writing to the memory. Note that suspended process is not the same as paused: suspending is much faster, but OllyDbg does not read the registers.
Parameters:
None
Return values:
None
See also: