From 04fb63c99e3a3da65613fa7a7eb2b8bfad1c582b Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sat, 20 Apr 2013 17:06:15 +0000 Subject: 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 --- include/delphi/m_message.inc | 8 ++++---- include/m_message.h | 10 +++++----- 2 files changed, 9 insertions(+), 9 deletions(-) (limited to 'include') 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; ///////////////////////////////////////////////////////////////////////////////////////// -- cgit v1.2.3