extern "C" int __declspec(dllexport) Unload(void) { FreeLogFonts(); Chat_Unload(); int iRet = SplitmsgShutdown(); Skin->setupTabCloseBitmap(true); Skin->UnloadAeroTabs(); CleanTempFiles(); delete Skin; DestroyServiceFunction(hTypingNotify); delete sendLater; delete sendQueue; return iRet; }
int OnUnloadModule(void) { Chat_Unload(); DestroyCursor(hCurSplitNS); DestroyCursor(hCurHyperlinkHand); DestroyCursor(hCurSplitWE); DestroyCursor(hDragCursor); DestroyHookableEvent(hHookWinEvt); DestroyHookableEvent(hHookWinPopup); DestroyHookableEvent(hHookWinWrite); ReleaseIcons(); FreeMsgLogIcons(); RichUtil_Unload(); FreeGlobals(); FreeLibrary(hMsftEdit); return 0; }