int SplitmsgShutdown(void) { WindowList_Destroy(M.m_hMessageWindowList); WindowList_Destroy(PluginConfig.hUserPrefsWindowList); DestroyCursor(PluginConfig.hCurSplitNS); DestroyCursor(PluginConfig.hCurHyperlinkHand); DestroyCursor(PluginConfig.hCurSplitWE); FreeLibrary(GetModuleHandleA("Msftedit.dll")); if (g_hIconDLL) { FreeLibrary(g_hIconDLL); g_hIconDLL = NULL; } ImageList_RemoveAll(PluginConfig.g_hImageList); ImageList_Destroy(PluginConfig.g_hImageList); delete Win7Taskbar; DestroyMenu(PluginConfig.g_hMenuContext); if (PluginConfig.g_hMenuContainer) DestroyMenu(PluginConfig.g_hMenuContainer); UnloadIcons(); FreeTabConfig(); if (Utils::rtf_ctable) mir_free(Utils::rtf_ctable); UnloadTSButtonModule(); return 0; }
extern "C" int __declspec(dllexport) Unload(void) { #ifdef _DEBUG UnInitDebug(); #endif WindowList_Destroy(YAMNVar.MessageWnds); WindowList_Destroy(YAMNVar.NewMailAccountWnd); DestroyCursor(hCurSplitNS); DestroyCursor(hCurSplitWE); CloseHandle(NoWriterEV); CloseHandle(WriteToFileEV); CloseHandle(ExitEV); DeleteCriticalSection(&AccountStatusCS); DeleteCriticalSection(&FileWritingCS); DeleteCriticalSection(&PluginRegCS); UnhookEvents(); DestroyServiceFunctions(); UnloadPlugins(); delete [] CodePageNamesSupp; return 0; }
int AwayMsgPreShutdown(void) { if (hWindowList) { WindowList_Broadcast(hWindowList, WM_CLOSE, 0, 0); WindowList_Destroy(hWindowList); } if (hWindowList2) { WindowList_Broadcast(hWindowList2, WM_CLOSE, 0, 0); WindowList_Destroy(hWindowList2); } return 0; }
extern "C" int __declspec(dllexport) Unload(void) { ChangeContactStatus(0); KillTimer(NULL, timerId); KillTimer(NULL, Countdown); db_set_b(NULL, MODULENAME, HAS_CRASHED_KEY, 0); SavewinSettings(); if (hRichEd) FreeLibrary(hRichEd); if (hNetlibUser) { Netlib_CloseHandle(hNetlibUser); hNetlibUser = NULL; } if (hHookDisplayDataAlert) DestroyHookableEvent(hHookDisplayDataAlert); if (hHookAlertPopup) DestroyHookableEvent(hHookAlertPopup); if (hHookAlertWPopup) DestroyHookableEvent(hHookAlertWPopup); if (h_font != NULL) DeleteObject(h_font); if (hMenu) DestroyMenu(hMenu); WindowList_Destroy(hWindowList); return 0; }
MIR_APP_DLL(void) ProtoDestructor(PROTO_INTERFACE *pThis) { mir_free(pThis->m_szModuleName); mir_free(pThis->m_tszUserName); WindowList_Destroy(pThis->m_hWindowList); }
extern "C" __declspec(dllexport) int Unload(void) { WindowList_Destroy(hInternalWindowList); Uninitilize(); bUseInternalViewer(false); return 0; }
extern "C" int __declspec(dllexport) Unload() { DestroyServices(); WindowList_Broadcast(hOpenWindowsList, WM_CLOSE, 0, 0); WindowList_Destroy(hOpenWindowsList); return 0; }
static int PreShutdownHistoryModule(WPARAM, LPARAM) { if (hWindowList) { WindowList_Broadcast(hWindowList, WM_DESTROY, 0, 0); WindowList_Destroy(hWindowList); } return 0; }
void DeinitAlarmWin() { WindowList_Broadcast(hAlarmWindowList, WM_COMMAND, IDC_SNOOZE, 0); WindowList_Destroy(hAlarmWindowList); if (hBackgroundBrush) DeleteObject(hBackgroundBrush); if (hTitleFont) DeleteObject(hTitleFont); if (hWindowFont) DeleteObject(hWindowFont); }
// // Unload() // Called by Miranda when Plugin is unloaded. // extern "C" __declspec(dllexport) int Unload(void) { WindowList_Destroy(hFileList); if(hHookSkinIconsChanged != NULL) UnhookEvent(hHookSkinIconsChanged); UnhookEvent(hHookDbSettingChange); UnhookEvent(hHookContactAdded); return 0; }
// unload function extern "C" int __declspec(dllexport) Unload(void) { DestroyMwin(); DestroyWindow(hPopupWindow); DestroyHookableEvent(hHookWeatherUpdated); DestroyHookableEvent(hHookWeatherError); NetlibHttpDisconnect(); Netlib_CloseHandle(hNetlibUser); DestroyUpdateList(); DestroyOptions(); DestroyWIList(); // unload all ini data from memory WindowList_Destroy(hDataWindowList); WindowList_Destroy(hWindowList); CloseHandle(hUpdateMutex); return 0; }
static int SRUrlShutdown(WPARAM, LPARAM) { if (hEventContactSettingChange) UnhookEvent(hEventContactSettingChange); if (hContactDeleted) UnhookEvent(hContactDeleted); if (hUrlWindowList) { WindowList_Broadcast(hUrlWindowList, WM_CLOSE, 0, 0); WindowList_Destroy(hUrlWindowList); } return 0; }
void g_MenuUninit(void) { DestroyHookableEvent(hStatusMenuInit); Menu_RemoveItem(g_hMenuRequestAuth); Menu_RemoveItem(g_hMenuGrantAuth); Menu_RemoveItem(g_hMenuRevokeAuth); Menu_RemoveItem(g_hMenuConvert); Menu_RemoveItem(g_hMenuRosterAdd); Menu_RemoveItem(g_hMenuLogin); Menu_RemoveItem(g_hMenuRefresh); Menu_RemoveItem(g_hMenuAddBookmark); WindowList_Destroy(hDialogsList); }
void UnloadClcModule() { if (!bModuleInitialized) return; for (int i = 0; i < arEvents.getCount(); i++) UnhookEvent(arEvents[i]); mir_free(cli.clcProto); WindowList_Destroy(hClcWindowList); hClcWindowList = NULL; FreeDisplayNameCache(); UninitCustomMenus(); UninitGenMenu(); }
int CMPlugin::Unload() { WindowList_Destroy(g_hSendWindowList); WindowList_Destroy(g_hRecvWindowList); return 0; }
extern "C" int __declspec(dllexport) Unload() { WindowList_Destroy(g_hReadWndList); return 0; }
static int OnShutdown(WPARAM, LPARAM) { WindowList_Destroy(g_dat.hMessageWindowList); return 0; }
void SrmmMenu_Unload() { WindowList_Destroy(hDialogsList); }
void UninitHistoryDialog(void) { WindowList_Destroy(hWindowList); }
extern "C" int __declspec(dllexport) Unload(void) { WindowList_Destroy(hChangeSoundDlgList); return 0; }
extern "C" __declspec(dllexport) int Unload(void) { WindowList_Destroy(hWindowList); DestroyCursor(splitCursor); return 0; }
extern "C" __declspec(dllexport) int Unload(void) { WindowList_Destroy(g_hSendWindowList); WindowList_Destroy(g_hRecvWindowList); return 0; }
void UninitCustomMenus(void) { WindowList_Destroy(hWindowListIGN); }
extern "C" __declspec(dllexport) int Unload(void) { WindowList_Destroy(hAvatarWindowsList); return 0; }
int TN_ModuleDeInit() { WindowList_Destroy(hPopupsList); db_set_b(0, Module, SET_DISABLED, (BYTE)(Disabled | StartDisabled | StopDisabled)); return 0; }
void ToolbarButtonUnloadModule() { WindowList_Destroy(hButtonWindowList); }