From 85c0b6a96f366bdf0ca334ee7cb1877fb3f2288c Mon Sep 17 00:00:00 2001 From: George Hazan Date: Fri, 16 Jan 2015 17:49:54 +0000 Subject: MEVENT - the strict type for events, they are not HANDLE anymore git-svn-id: http://svn.miranda-ng.org/main/trunk@11866 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/QuickContacts/src/quickcontacts.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'plugins/QuickContacts') diff --git a/plugins/QuickContacts/src/quickcontacts.cpp b/plugins/QuickContacts/src/quickcontacts.cpp index 2ae6d2011b..3e77ddff60 100644 --- a/plugins/QuickContacts/src/quickcontacts.cpp +++ b/plugins/QuickContacts/src/quickcontacts.cpp @@ -196,10 +196,10 @@ int ModulesLoaded(WPARAM wParam, LPARAM lParam) // called when a message/file/url was sent // handle of contact is set as window-userdata -int EventAdded(WPARAM wparam, LPARAM lparam) +int EventAdded(WPARAM wparam, LPARAM hDbEvent) { DBEVENTINFO dbei = { sizeof(dbei) }; - db_event_get((HANDLE)lparam, &dbei); + db_event_get(hDbEvent, &dbei); if ( !(dbei.flags & DBEF_SENT) || (dbei.flags & DBEF_READ) || !db_get_b(NULL, MODULE_NAME, "EnableLastSentTo", 0) || db_get_w(NULL, MODULE_NAME, "MsgTypeRec", TYPE_GLOBAL) != TYPE_GLOBAL) -- cgit v1.2.3