dcerpc-netlogon: let dissect_secchan_verf() set seen.isseen earlier
[wireshark-sm.git] / extcap / etw_message.h
blob017849a97f121d9bfa78241739a2e51935fbbf0d
1 /** @file
3 * Copyright 2020, Odysseus Yang
5 * Wireshark - Network traffic analyzer
6 * By Gerald Combs <gerald@wireshark.org>
7 * Copyright 1998 Gerald Combs
9 * SPDX-License-Identifier: GPL-2.0-or-later
12 #ifndef __W_ETW_MESSAGE_H__
13 #define __W_ETW_MESSAGE_H__
15 #include <glib.h>
17 #include <windows.h>
18 #include <SDKDDKVer.h>
19 #include <strsafe.h>
20 #include <evntcons.h>
21 #include <tdh.h>
22 #include <stdlib.h>
24 #define MAX_SMALL_BUFFER 4
25 #define MAX_LOG_LINE_LENGTH 1024
26 #define MAX_KEY_LENGTH 64
28 typedef struct Property_Key_Value
30 WCHAR key[MAX_KEY_LENGTH];
31 WCHAR value[MAX_LOG_LINE_LENGTH];
32 } PROPERTY_KEY_VALUE;
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;
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);
45 #endif
49 * Editor modelines - https://www.wireshark.org/tools/modelines.html
51 * Local variables:
52 * c-basic-offset: 4
53 * tab-width: 8
54 * indent-tabs-mode: nil
55 * End:
57 * vi: set shiftwidth=4 tabstop=8 expandtab:
58 * :indentSize=4:tabSize=8:noTabs=true: