summaryrefslogtreecommitdiff
path: root/include/m_message.h
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2017-03-28 14:55:06 +0300
committerGeorge Hazan <ghazan@miranda.im>2017-03-28 14:55:06 +0300
commit1e49d6b2cb3812d8e80051cbb3d44891e6532825 (patch)
tree2ffb8e36641e063d625faece1d380f4ce833d1a6 /include/m_message.h
parenteccbb5307a048e70ac4adb0d3fd333be28245fa8 (diff)
funny, but without cbSize we have no need in MessageWindowInputData at all
Diffstat (limited to 'include/m_message.h')
-rw-r--r--include/m_message.h9
1 files changed, 1 insertions, 8 deletions
diff --git a/include/m_message.h b/include/m_message.h
index 43c7612cda..472e6a8f61 100644
--- a/include/m_message.h
+++ b/include/m_message.h
@@ -76,12 +76,6 @@ struct StatusTextData
// Sets a statusbar line text for the appropriate contact
#define MS_MSG_SETSTATUSTEXT "MessageAPI/SetStatusText"
-struct MessageWindowInputData
-{
- MCONTACT hContact;
- int uFlags; // see uflags above
-};
-
#define MSG_WINDOW_STATE_EXISTS 0x00000001 // Window exists should always be true if hwndWindow exists
#define MSG_WINDOW_STATE_VISIBLE 0x00000002
#define MSG_WINDOW_STATE_FOCUS 0x00000004
@@ -89,14 +83,13 @@ struct MessageWindowInputData
struct MessageWindowData
{
- 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
void *local; // used to store pointer to custom data
};
-// wparam = (MessageWindowInputData*)
+// 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"