// OllyDbg calls this optional function once on exit. At this moment, all MDI // windows created by plugin are already destroyed (and received WM_DESTROY // messages). Function must free all internally allocated resources, like // window classes, files, memory and so on. extc void _export cdecl ODBG_Plugindestroy(void) { Unregisterpluginclass(bookmarkwinclass); Destroysorteddata(&(bookmark.data)); };
// OllyDbg calls this optional function once on exit. At this moment, all // windows created by plugin are already destroyed (and received WM_DESTROY // messages). Function must free all internally allocated resources, like // window classes, files, memory and so on. extc void _export cdecl ODBG_Plugindestroy() { delete ollylang; Unregisterpluginclass(wndprogclass); Unregisterpluginclass(wndlogclass); }
extc void _export cdecl ODBG_Plugindestroy(void) { Unregisterpluginclass(classname); }