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 --- include/m_message.h | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'include/m_message.h') diff --git a/include/m_message.h b/include/m_message.h index 277084e113..cd16d59d58 100644 --- a/include/m_message.h +++ b/include/m_message.h @@ -62,7 +62,7 @@ extern int hLangpack; typedef struct { int cbSize; - HCONTACT hContact; + MCONTACT hContact; HWND hwndWindow; // top level window for the contact const char* szModule; // used to get plugin type (which means you could use local if needed) unsigned int uType; // see event types above @@ -90,7 +90,7 @@ typedef struct { typedef struct { int cbSize; - HCONTACT hContact; + MCONTACT hContact; int uFlags; // see uflags above } MessageWindowInputData; @@ -101,7 +101,7 @@ typedef struct { typedef struct { int cbSize; - HCONTACT hContact; + MCONTACT hContact; int uFlags; // should be same as input data unless 0, then it will be the actual type HWND hwndWindow; //top level window for the contact or NULL if no window exists int uState; // see window states @@ -121,7 +121,7 @@ typedef struct { typedef struct { int cbSize; int seq; // number returned by PSS_MESSAGE - HCONTACT hContact; + MCONTACT hContact; DBEVENTINFO *dbei; // database event written on the basis of message sent } MessageWindowEvent; @@ -146,7 +146,7 @@ typedef struct { int cbSize; unsigned int uType; // see popup types above unsigned int uFlags; // used to indicate in which window the popup was requested - HCONTACT hContact; + MCONTACT hContact; HWND hwnd; // window where the popup was requested HMENU hMenu; // The handle to the menu POINT pt; // The point, in screen coords @@ -213,7 +213,7 @@ __forceinline void Srmm_RemoveIcon(StatusIconData *sid) // if either hIcon, hIconDisabled or szTooltip is null, they will not be modified #define MS_MSG_MODIFYICON "MessageAPI/ModifyIcon" -__forceinline void Srmm_ModifyIcon(HCONTACT hContact, StatusIconData *sid) +__forceinline void Srmm_ModifyIcon(MCONTACT hContact, StatusIconData *sid) { CallService(MS_MSG_MODIFYICON, (WPARAM)hContact, (LPARAM)sid); } @@ -222,7 +222,7 @@ __forceinline void Srmm_ModifyIcon(HCONTACT hContact, StatusIconData *sid) // returns (StatusIconData*)icon description filled for the required contact // don't free this memory. -__forceinline StatusIconData* Srmm_GetNthIcon(HCONTACT hContact, int index) +__forceinline StatusIconData* Srmm_GetNthIcon(MCONTACT hContact, int index) { return (StatusIconData*)CallService("MessageAPI/GetNthIcon", (WPARAM)hContact, index); } -- cgit v1.2.3