From 68d3fd47bb9b75e65859d14199ffee01f16ac9a7 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Mon, 10 Feb 2014 20:47:51 +0000 Subject: HCONTACT is not needed anymore git-svn-id: http://svn.miranda-ng.org/main/trunk@8086 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/Import/src/utils.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'plugins/Import/src/utils.cpp') diff --git a/plugins/Import/src/utils.cpp b/plugins/Import/src/utils.cpp index 4d3cca3b77..b6946665ab 100644 --- a/plugins/Import/src/utils.cpp +++ b/plugins/Import/src/utils.cpp @@ -35,7 +35,7 @@ BOOL IsProtocolLoaded(char* pszProtocolName) // If contact is specified adds it to group // ------------------------------------------------ // Returns 1 if successful and 0 when it fails. -int CreateGroup(const TCHAR* group, HCONTACT hContact) +int CreateGroup(const TCHAR* group, MCONTACT hContact) { if (group == NULL) return 0; @@ -75,10 +75,10 @@ int CreateGroup(const TCHAR* group, HCONTACT hContact) } // Returns TRUE if the event already exist in the database -BOOL IsDuplicateEvent(HCONTACT hContact, DBEVENTINFO dbei) +BOOL IsDuplicateEvent(MCONTACT hContact, DBEVENTINFO dbei) { static DWORD dwPreviousTimeStamp = -1; - static HCONTACT hPreviousContact = (HCONTACT)INVALID_HANDLE_VALUE; + static MCONTACT hPreviousContact = INVALID_CONTACT_ID; static HANDLE hPreviousDbEvent = NULL; HANDLE hExistingDbEvent; @@ -220,6 +220,6 @@ BOOL IsDuplicateEvent(HCONTACT hContact, DBEVENTINFO dbei) } } // reset last event - hPreviousContact = (HCONTACT)INVALID_HANDLE_VALUE; + hPreviousContact = INVALID_CONTACT_ID; return FALSE; } -- cgit v1.2.3