diff options
author | George Hazan <george.hazan@gmail.com> | 2013-04-20 15:52:48 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2013-04-20 15:52:48 +0000 |
commit | f725c70b482df377119e2c09b36c9317f86ef494 (patch) | |
tree | 584e839d2b786835acb9dd460aab0758dd736cf9 /include/m_message.h | |
parent | 66e9197603643cc587909fb1bce7402383dbad69 (diff) |
ME_MSG_WRITEEVENT - new hookable event to catch the db event creation moment in SRMM
git-svn-id: http://svn.miranda-ng.org/main/trunk@4484 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'include/m_message.h')
-rw-r--r-- | include/m_message.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/include/m_message.h b/include/m_message.h index 9c9bca2549..6d842ebc20 100644 --- a/include/m_message.h +++ b/include/m_message.h @@ -107,6 +107,21 @@ typedef struct { //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"
+//wparam = 0 (unused)
+//lparam = (MessageWindowEvent*)
+//fired when SRMM writes an entered message into the database
+#define ME_MSG_WRITEEVENT "MessageAPI/OnWriteEvent"
+
+typedef struct {
+ int cbSize;
+ int seq; // number returned by PSS_MESSAGE
+ HANDLE hContact;
+ HANDLE hDbEvent; // database event written on the basis of message sent
+} MessageWindowEvent;
+
+/////////////////////////////////////////////////////////////////////////////////////////
+// SRMM popup menu
+
// wParam = 0
// lParam = (MessageWindowPopupData *)&MessageWindowPopupData;
// Fired to allow plugins to add items to the msg window popup menu
@@ -131,6 +146,7 @@ typedef struct { int selection; // The menu control id or 0 if no one was selected
} MessageWindowPopupData;
+/////////////////////////////////////////////////////////////////////////////////////////
// status icons
#define MBF_DISABLED 0x01
|