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/Variables/src/parse_miranda.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'plugins/Variables/src') diff --git a/plugins/Variables/src/parse_miranda.cpp b/plugins/Variables/src/parse_miranda.cpp index 01b7581969..d736147d23 100644 --- a/plugins/Variables/src/parse_miranda.cpp +++ b/plugins/Variables/src/parse_miranda.cpp @@ -500,7 +500,7 @@ static BOOL isValidDbEvent(DBEVENTINFO *dbe, int flags) return (bEventType && bEventFlags); } -static HANDLE findDbEvent(MCONTACT hContact, HANDLE hDbEvent, int flags) +static MEVENT findDbEvent(MCONTACT hContact, MEVENT hDbEvent, int flags) { DBEVENTINFO dbe; BOOL bEventOk; @@ -526,7 +526,7 @@ static HANDLE findDbEvent(MCONTACT hContact, HANDLE hDbEvent, int flags) hDbEvent = db_event_prev(hContact, hDbEvent); } else { - HANDLE hMatchEvent, hSearchEvent; + MEVENT hMatchEvent, hSearchEvent; DWORD matchTimestamp, priorTimestamp; hMatchEvent = hSearchEvent = NULL; @@ -664,7 +664,7 @@ static TCHAR* parseDbEvent(ARGUMENTSINFO *ai) else if (ci.hContacts != NULL) mir_free(ci.hContacts); - HANDLE hDbEvent = findDbEvent(hContact, NULL, flags); + MEVENT hDbEvent = findDbEvent(hContact, NULL, flags); if (hDbEvent == NULL) return NULL; -- cgit v1.2.3