Suspendprocess

OllyDbg Plugin API

Suspendprocess

Suspends all threads of the process being debugged. It may happen (especially when logging breakpoints are set or hit trace is active) that threads will be suspended after some breakpoint is executed but corresponding debug event is not processed. If you want OllyDbg to process events before returning from Suspendprocess, call it with processevents=1. Returns 0 on success and -1 in case of any error. To resume execution, call Go. This function is slow on Win95-bases systems.

int Suspendprocess(int processevents);

Parameters:

processevents - process pending debugging events before return.

See also: OpenEXEfile, Go, Animate, Runsinglethread, Restoreallthreads