summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
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;
/////////////////////////////////////////////////////////////////////////////////////////