Optional plugin callback function, called when user wants to terminate OllyDbg. Function must return 0 if it is safe to terminate. Any non-zero value stops termination.
Do not misuse this possibility. Always inform user about the reasons why termination is not good ("You have unsaved data, OK to discard?") and always ask for user decision. Attention, don't make any unrecoverable actions like closing plugin windows, because some other plugin may decide that OllyDbg should continue.
int ODBG2_Pluginclose(void);
Parameters:
None
Return values:
0 if OllyDbg is allowed to terminate, any non-zero value if OllyDbg should continue execution
See also: