Wireshark  4.3.0
The Wireshark network protocol analyzer
etw_message.h
Go to the documentation of this file.
1 
12 #ifndef __W_ETW_MESSAGE_H__
13 #define __W_ETW_MESSAGE_H__
14 
15 #include <glib.h>
16 
17 #include <windows.h>
18 #include <SDKDDKVer.h>
19 #include <strsafe.h>
20 #include <evntcons.h>
21 #include <tdh.h>
22 #include <stdlib.h>
23 
24 #define MAX_SMALL_BUFFER 4
25 #define MAX_LOG_LINE_LENGTH 1024
26 #define MAX_KEY_LENGTH 64
27 
28 typedef struct Property_Key_Value
29 {
30  WCHAR key[MAX_KEY_LENGTH];
31  WCHAR value[MAX_LOG_LINE_LENGTH];
33 
34 typedef struct in6_addr {
35  union {
36  UCHAR Byte[16];
37  USHORT Word[8];
38  } u;
39 } IN6_ADDR, * PIN6_ADDR, FAR* LPIN6_ADDR;
40 
41 VOID format_message(WCHAR* lpszMessage, PROPERTY_KEY_VALUE* propArray, DWORD dwPropertyCount, WCHAR* lpszOutBuffer, DWORD dwOutBufferCount);
42 BOOL get_event_information(PEVENT_RECORD pEvent, PTRACE_EVENT_INFO* pInfo);
43 PBYTE extract_properties(PEVENT_RECORD pEvent, PTRACE_EVENT_INFO pInfo, DWORD PointerSize, USHORT i, PBYTE pUserData, PBYTE pEndOfUserData, PROPERTY_KEY_VALUE* pExtract);
44 
45 #endif
46 
47 
48 /*
49  * Editor modelines - https://www.wireshark.org/tools/modelines.html
50  *
51  * Local variables:
52  * c-basic-offset: 4
53  * tab-width: 8
54  * indent-tabs-mode: nil
55  * End:
56  *
57  * vi: set shiftwidth=4 tabstop=8 expandtab:
58  * :indentSize=4:tabSize=8:noTabs=true:
59  */
Definition: etw_message.h:29
Definition: etw_message.h:34