diff options
author | George Hazan <ghazan@miranda.im> | 2017-01-17 17:19:19 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2017-01-17 17:19:19 +0300 |
commit | b327ed7872ca83c3a4249039ba1a3d8dd3ece630 (patch) | |
tree | 5a4ae83dafab23f7832186b5dd0736611998f43c /include | |
parent | fd7566b5de6b59bb18ff380cb1fa3f3f1089b70b (diff) |
useless field DBEVENTINFO::cbSize removed
Diffstat (limited to 'include')
-rw-r--r-- | include/delphi/m_database.inc | 1 | ||||
-rw-r--r-- | include/m_database.h | 10 |
2 files changed, 4 insertions, 7 deletions
diff --git a/include/delphi/m_database.inc b/include/delphi/m_database.inc index 8dd608b9c4..3ec65f0089 100644 --- a/include/delphi/m_database.inc +++ b/include/delphi/m_database.inc @@ -40,7 +40,6 @@ const type
PDBEVENTINFO = ^TDBEVENTINFO;
TDBEVENTINFO = record
- cbSize : int; // size of the structure
szModule : PAnsiChar; // module that 'owns' this event and controls the data format
timestamp: dword; // timestamp in UNIX time
flags : dword; // the DBEF_* flags above
diff --git a/include/m_database.h b/include/m_database.h index 8dcf896036..23926eba9b 100644 --- a/include/m_database.h +++ b/include/m_database.h @@ -172,12 +172,10 @@ typedef struct typedef struct
{
- int cbSize; // size of the structure in bytes
- char *szModule; // pointer to name of the module that 'owns' this
- // event, ie the one that is in control of the data format
- DWORD timestamp; // seconds since 00:00, 01/01/1970. Gives us times until
- // 2106 unless you use the standard C library which is
- // signed and can only do until 2038. In GMT.
+ char *szModule; // pointer to name of the module that 'owns' this event
+ DWORD timestamp; // seconds since 00:00, 01/01/1970. Gives us times until 2106
+ // unless you use the standard C library which is
+ // signed and can only do until 2038. In GMT.
DWORD flags; // the omnipresent flags
WORD eventType; // module-defined event type field
DWORD cbBlob; // size of pBlob in bytes
|