summaryrefslogtreecommitdiff
path: root/plugins/ContactsPlus/src/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/ContactsPlus/src/main.cpp')
-rw-r--r--plugins/ContactsPlus/src/main.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/plugins/ContactsPlus/src/main.cpp b/plugins/ContactsPlus/src/main.cpp
index 5c604e25a8..d8812192b9 100644
--- a/plugins/ContactsPlus/src/main.cpp
+++ b/plugins/ContactsPlus/src/main.cpp
@@ -57,9 +57,8 @@ BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved)
return TRUE;
}
-static int HookDBEventAdded(WPARAM wParam, LPARAM lParam)
+static int HookDBEventAdded(WPARAM hContact, LPARAM lParam)
{
- MCONTACT hContact = wParam;
HANDLE hDbEvent = (HANDLE)lParam;
//process the event
DBEVENTINFO dbe = { sizeof(dbe) };
@@ -115,9 +114,8 @@ static bool CheckContactsServiceSupport(const char* szProto)
return false;
}
-static int HookPreBuildContactMenu(WPARAM wParam, LPARAM lParam)
+static int HookPreBuildContactMenu(WPARAM hContact, LPARAM lParam)
{
- MCONTACT hContact = wParam;
char *szProto = GetContactProto(hContact);
int bVisible = FALSE;