summaryrefslogtreecommitdiff
path: root/plugins/Clist_modern/src/modern_sync.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2013-06-23 15:58:24 +0000
committerGeorge Hazan <george.hazan@gmail.com>2013-06-23 15:58:24 +0000
commit49903eeb7655c18025c72982dec288c469e5d49c (patch)
treeef994554fdb7c6daf1896b9050c14167f371fee9 /plugins/Clist_modern/src/modern_sync.cpp
parentc93d3fe5ed2eeddbc67ec04217508fee545a9452 (diff)
oops... some perversions remained :) fixing
git-svn-id: http://svn.miranda-ng.org/main/trunk@5100 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Clist_modern/src/modern_sync.cpp')
-rw-r--r--plugins/Clist_modern/src/modern_sync.cpp22
1 files changed, 0 insertions, 22 deletions
diff --git a/plugins/Clist_modern/src/modern_sync.cpp b/plugins/Clist_modern/src/modern_sync.cpp
index 5f6901fe18..2d17b932b2 100644
--- a/plugins/Clist_modern/src/modern_sync.cpp
+++ b/plugins/Clist_modern/src/modern_sync.cpp
@@ -41,20 +41,6 @@ struct SYNCCALLITEM
PSYNCCALLBACKPROC pfnProc;
};
-static HRESULT SyncCallWinProcProxy( PSYNCCALLBACKPROC pfnProc, WPARAM wParam, LPARAM lParam, int& nReturn )
-{
- nReturn = 0;
- if (pcli->hwndContactList == NULL )
- return E_FAIL;
-
- SYNCCALLITEM item = {0};
- item.wParam = wParam;
- item.lParam = lParam;
- item.pfnProc = pfnProc;
- nReturn = SendMessage(pcli->hwndContactList, UM_SYNCCALL, (WPARAM)&item,0);
- return S_OK;
-}
-
static void CALLBACK _SyncCallerUserAPCProc(void* param)
{
SYNCCALLITEM* item = (SYNCCALLITEM*)param;
@@ -86,14 +72,6 @@ static int SyncCallAPCProxy(PSYNCCALLBACKPROC pfnProc, WPARAM wParam, LPARAM lPa
/////////////////////////////////////////////////////////////////////////////////////////
-LRESULT SyncOnWndProcCall(WPARAM wParam )
-{
- SYNCCALLITEM *psci = (SYNCCALLITEM *)wParam;
- if (psci)
- return psci->pfnProc( psci->wParam, psci->lParam);
- return 0;
-}
-
int DoCall( PSYNCCALLBACKPROC pfnProc, WPARAM wParam, LPARAM lParam)
{
return SyncCallAPCProxy(pfnProc, 0, lParam);