summaryrefslogtreecommitdiff
path: root/include/m_message.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/m_message.h')
-rw-r--r--include/m_message.h8
1 files changed, 3 insertions, 5 deletions
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