From 2be5844edd93ab3490b4689cad33d75b4c77f3a8 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Tue, 28 Mar 2017 15:38:49 +0300 Subject: and finally MS_MSG_GETWINDOWDATA has gone, zihrono levraha --- include/m_message.h | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'include/m_message.h') diff --git a/include/m_message.h b/include/m_message.h index 87fb73d92c..2ea263bd50 100644 --- a/include/m_message.h +++ b/include/m_message.h @@ -85,14 +85,12 @@ struct MessageWindowData { HWND hwndWindow; //top level window for the contact or NULL if no window exists int uState; // see window states - void *local; // used to store pointer to custom data + class CSrmmBaseDialog *pDlg; // window class object }; -// wparam = (MCONTACT)hContact -// lparam = (MessageWindowData*) -// returns 0 on success and returns non-zero (1) on error or if no window data exists for that hcontact -#define MS_MSG_GETWINDOWDATA "MessageAPI/GetWindowData" +EXTERN_C MIR_APP_DLL(int) Srmm_GetWindowData(MCONTACT hContact, MessageWindowData &mwd); +/////////////////////////////////////////////////////////////////// // wparam = 0 (unused) // lparam = (MessageWindowEvent*) // fired before SRMM writes an entered message into the database -- cgit v1.2.3