MCPcopy Create free account
hub / github.com/BeneficialCode/WinArk / GetEventDetails

Method GetEventDetails

WinArk/EtwView.cpp:249–266  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

247}
248
249std::wstring CEtwView::GetEventDetails(EventData* data) const {
250 auto details = ProcessSpecialEvent(data);
251 if (details.empty()) {
252 for (auto& prop : data->GetProperties()) {
253 if (prop.Name.substr(0, 8) != L"Reserved" && prop.Name.substr(0, 4) != L"TTID") {
254 auto value = FormatHelper::FormatProperty(data, prop);
255 if (value.empty())
256 value = data->FormatProperty(prop);
257 if (!value.empty()) {
258 if (value.size() > 102)
259 value = value.substr(0, 100) + L"...";
260 details += prop.Name + L": " + value + L";";
261 }
262 }
263 }
264 }
265 return details;
266}
267
268void CEtwView::UpdateEventStatus() {
269 CString text;

Callers

nothing calls this directly

Calls 3

emptyMethod · 0.80
FormatPropertyMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected