Panoptes 1.0.0
Endpoint Detection and Response
Loading...
Searching...
No Matches
HookSessionProperties Struct Reference

Public Member Functions

 HookSessionProperties ()

Public Attributes

EVENT_TRACE_PROPERTIES Properties
wchar_t SessionName [ARRAYSIZE(HOOK_SESSION_NAME)]

Detailed Description

Definition at line 259 of file hook_events.cpp.

Constructor & Destructor Documentation

◆ HookSessionProperties()

HookSessionProperties::HookSessionProperties ( )
inline

Definition at line 264 of file hook_events.cpp.

265 {
266 ZeroMemory(this, sizeof(*this));
267 Properties.Wnode.BufferSize = sizeof(*this);
268 Properties.Wnode.Flags = WNODE_FLAG_TRACED_GUID;
269 Properties.Wnode.ClientContext = 1; // QPC timestamps, converted to FILETIME for consumers
270 Properties.LogFileMode = EVENT_TRACE_REAL_TIME_MODE;
271 Properties.BufferSize = 64; // KB
272 Properties.FlushTimer = 1; // deliver buffered events at least once a second
273 Properties.LoggerNameOffset = offsetof(HookSessionProperties, SessionName);
274 }
EVENT_TRACE_PROPERTIES Properties
wchar_t SessionName[ARRAYSIZE(HOOK_SESSION_NAME)]

References HookSessionProperties(), Properties, and SessionName.

Referenced by HookSessionProperties().

Member Data Documentation

◆ Properties

EVENT_TRACE_PROPERTIES HookSessionProperties::Properties

Definition at line 261 of file hook_events.cpp.

Referenced by HookSessionProperties(), StartHookEvents(), and StopHookEvents().

◆ SessionName

wchar_t HookSessionProperties::SessionName[ARRAYSIZE(HOOK_SESSION_NAME)]

Definition at line 262 of file hook_events.cpp.

Referenced by HookSessionProperties().


The documentation for this struct was generated from the following file: