summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2013-04-20 17:06:15 +0000
committerGeorge Hazan <george.hazan@gmail.com>2013-04-20 17:06:15 +0000
commit04fb63c99e3a3da65613fa7a7eb2b8bfad1c582b (patch)
treee711ef51b2bea0ae2a62ceae974a7708cc432434 /include
parent1e04ea836d421343cafdc605f9cfe0cf79ef24f1 (diff)
oops... ME_MSG_WRITEEVENT is ME_MSG_PRECREATEEVENT now :)
git-svn-id: http://svn.miranda-ng.org/main/trunk@4487 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'include')
-rw-r--r--include/delphi/m_message.inc8
-rw-r--r--include/m_message.h10
2 files changed, 9 insertions, 9 deletions
diff --git a/include/delphi/m_message.inc b/include/delphi/m_message.inc
index 662171f9ae..112e94ed01 100644
--- a/include/delphi/m_message.inc
+++ b/include/delphi/m_message.inc
@@ -121,10 +121,10 @@ const
MS_MSG_GETWINDOWDATA:PAnsiChar = 'MessageAPI/GetWindowData';
{ wparam=0(unused)
- lparam=(pMessageWindowEvent) event written
- fired when SRMM writes an entered message into the database
+ lparam=(pMessageWindowEvent) event being written
+ fired before SRMM writes an entered message into the database
}
- ME_MSG_WRITEEVENT:PAnsiChar = 'MessageAPI/OnWriteEvent';
+ ME_MSG_PRECREATEEVENT:PAnsiChar = 'MessageAPI/PreCreateEvent';
{ wParam = 0
lParam = (MessageWindowPopupData *)&MessageWindowPopupData;
@@ -158,7 +158,7 @@ type
cbSize :int;
seq :int; // number returned by PSS_MESSAGE
hContact :THANDLE;
- hDbEvent :THANDLE; // database event written on the basis of message sent
+ dbei :pDbEventInfo; // database event written on the basis of message sent
end;
// status icons
diff --git a/include/m_message.h b/include/m_message.h
index 6d842ebc20..a8258aadfe 100644
--- a/include/m_message.h
+++ b/include/m_message.h
@@ -109,14 +109,14 @@ typedef struct {
//wparam = 0 (unused)
//lparam = (MessageWindowEvent*)
-//fired when SRMM writes an entered message into the database
-#define ME_MSG_WRITEEVENT "MessageAPI/OnWriteEvent"
+//fired before SRMM writes an entered message into the database
+#define ME_MSG_PRECREATEEVENT "MessageAPI/PreCreateEvent"
typedef struct {
- int cbSize;
- int seq; // number returned by PSS_MESSAGE
+ int cbSize;
+ int seq; // number returned by PSS_MESSAGE
HANDLE hContact;
- HANDLE hDbEvent; // database event written on the basis of message sent
+ DBEVENTINFO *dbei; // database event written on the basis of message sent
} MessageWindowEvent;
/////////////////////////////////////////////////////////////////////////////////////////