| 247 | } |
| 248 | |
| 249 | std::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 | |
| 268 | void CEtwView::UpdateEventStatus() { |
| 269 | CString text; |
nothing calls this directly
no test coverage detected