summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/m_core.h37
1 files changed, 19 insertions, 18 deletions
diff --git a/include/m_core.h b/include/m_core.h
index 3491df1b57..c6c4368cb6 100644
--- a/include/m_core.h
+++ b/include/m_core.h
@@ -84,26 +84,27 @@ typedef struct {
};
} DBVARIANT;
-#define DBEF_FIRST 1 //this is the first event in the chain;
- //internal only: *do not* use this flag
-#define DBEF_SENT 2 //this event was sent by the user. If not set this
- //event was received.
-#define DBEF_READ 4 //event has been read by the user. It does not need
- //to be processed any more except for history.
-#define DBEF_RTL 8 //event contains the right-to-left aligned text
-#define DBEF_UTF 16 //event contains a text in utf-8
+#define DBEF_FIRST 1 // this is the first event in the chain;
+ // internal only: *do not* use this flag
+#define DBEF_SENT 2 // this event was sent by the user. If not set this
+ // event was received.
+#define DBEF_READ 4 // event has been read by the user. It does not need
+ // to be processed any more except for history.
+#define DBEF_RTL 8 // event contains the right-to-left aligned text
+#define DBEF_UTF 16 // event contains a text in utf-8
+#define DBEF_ENCRYPTED 32 // event is encrypted (never reported outside a driver)
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.
- DWORD flags; //the omnipresent flags
- WORD eventType; //module-defined event type field
- DWORD cbBlob; //size of pBlob in bytes
- PBYTE pBlob; //pointer to buffer containing module-defined event data
+ 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.
+ DWORD flags; // the omnipresent flags
+ WORD eventType; // module-defined event type field
+ DWORD cbBlob; // size of pBlob in bytes
+ PBYTE pBlob; // pointer to buffer containing module-defined event data
} DBEVENTINFO;
MIR_CORE_DLL(INT_PTR) db_free(DBVARIANT *dbv);