Optional callback function. If present, OllyDbg will call it each time the debugged application is paused and after all internal processing is finished. Plugin may, for example, make some modifications and immediately continue execution by caling Go. In this case it may return 1, disabling time-consuming redrawing of windows. In any other case it must return 0.
Note that if plugin exports both ODBG_Paused and ODBG_Pausedex, only the second function will be called.
int ODBG_Paused(int reason, t_reg *reg);
Parameters:
reason - reason why application was paused:
PP_EVENT | Paused on debugging event |
PP_PAUSE | Paused on user's request |
PP_TERMINATED | Application terminated |
reg - pointer to registers of thread that caused application to pause, may be NULL.
See also: ODBG_Pausedex