LRESULT CHookedDlg::OnUnhookAll(WORD /*wNotifyCode*/, WORD wID, HWND /*hWndCtl*/, BOOL& /*bHandled*/) { UnhookAll(); CMainFrame::Instance().m_ExportView.OnRefresh(); RefreshTree(); return 0; }
CNktHookLib::~CNktHookLib() { if (lpInternals != NULL) { UnhookAll(); delete int_data; lpInternals = NULL; } return; }
int __declspec(dllexport) Unload(void) { TRACE("Unloading ClistMW\r\n"); if (IsWindow(hwndContactList)) DestroyWindow(hwndContactList); //BGModuleUnload(); // UnLoadContactListModule(); UninitSkinHotKeys(); UnhookEvent(hSkinLoaded); UnloadSkinModule(); hwndContactList=0; TRACE("***&&& NEED TO UNHOOK ALL EVENTS &&&***\r\n"); UnhookAll(); TRACE("Unloading ClistMW COMPLETE\r\n"); return 0; }
PLUGININTERFACE int Unload(void) { TRACE("Unloading Clist Modern\r\n"); if (IsWindow(pcli->hwndContactList)) DestroyWindow(pcli->hwndContactList); pcli->hwndContactList=NULL; UnhookAll(); BackgroundsUnloadModule(); SkinEngineUnloadModule(); XPThemesUnloadModule(); UnloadAvatarOverlayIcon(); UninitSkinHotKeys(); FreeRowCell(); EventArea_UnloadModule(); TRACE("Unloading Clist Modern COMPLETE\r\n"); return 0; }