From 6c5515adb3b6e615c87b049398382ba3d044e9a9 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Wed, 26 Jun 2013 13:33:23 +0000 Subject: return of wrongly deleted fast hooks git-svn-id: http://svn.miranda-ng.org/main/trunk@5138 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- src/modules/netlib/netlibsock.cpp | 4 ++-- src/modules/plugins/newplugins.cpp | 2 +- src/modules/plugins/pluginopts.cpp | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) (limited to 'src') diff --git a/src/modules/netlib/netlibsock.cpp b/src/modules/netlib/netlibsock.cpp index 03138ef389..abd947bfc9 100644 --- a/src/modules/netlib/netlibsock.cpp +++ b/src/modules/netlib/netlibsock.cpp @@ -60,7 +60,7 @@ INT_PTR NetlibSend(WPARAM wParam, LPARAM lParam) NetlibLeaveNestedCS(&nlc->ncsSend); NETLIBNOTIFY nln = { nlb, result }; - NotifyEventHooks(hSendEvent, (WPARAM)&nln, (LPARAM)&nlc->nlu->user); + NotifyFastHook(hSendEvent, (WPARAM)&nln, (LPARAM)&nlc->nlu->user); return result; } @@ -96,7 +96,7 @@ INT_PTR NetlibRecv(WPARAM wParam, LPARAM lParam) if ((nlb->flags & MSG_PEEK) == 0) { NETLIBNOTIFY nln = { nlb, recvResult }; - NotifyEventHooks(hRecvEvent, (WPARAM)&nln, (LPARAM)&nlc->nlu->user); + NotifyFastHook(hRecvEvent, (WPARAM)&nln, (LPARAM)&nlc->nlu->user); } return recvResult; } diff --git a/src/modules/plugins/newplugins.cpp b/src/modules/plugins/newplugins.cpp index dfe9602246..a2c01627f8 100644 --- a/src/modules/plugins/newplugins.cpp +++ b/src/modules/plugins/newplugins.cpp @@ -370,7 +370,7 @@ int Plugin_UnloadDyn(pluginEntry *p) KillModuleSrmmIcons(hLangpack); } - NotifyEventHooks(hevUnloadModule, (WPARAM)p->bpi.pluginInfo, (LPARAM)p->bpi.hInst); + NotifyFastHook(hevUnloadModule, (WPARAM)p->bpi.pluginInfo, (LPARAM)p->bpi.hInst); Plugin_Uninit(p); diff --git a/src/modules/plugins/pluginopts.cpp b/src/modules/plugins/pluginopts.cpp index ab884410d6..b117c85f00 100644 --- a/src/modules/plugins/pluginopts.cpp +++ b/src/modules/plugins/pluginopts.cpp @@ -183,7 +183,7 @@ LBL_Error: goto LBL_Error; dat->hInst = pPlug->bpi.hInst; - NotifyEventHooks(hevLoadModule, (WPARAM)pPlug->bpi.pluginInfo, (LPARAM)pPlug->bpi.hInst); + NotifyFastHook(hevLoadModule, (WPARAM)pPlug->bpi.pluginInfo, (LPARAM)pPlug->bpi.hInst); return true; } -- cgit v1.2.3