| 521 | } |
| 522 | |
| 523 | LRESULT CEtwView::OnCallStack(WORD, WORD, HWND, BOOL&) { |
| 524 | auto selected = m_List.GetSelectedIndex(); |
| 525 | if (selected < 0) |
| 526 | return 0; |
| 527 | |
| 528 | auto data = m_Events[selected].get(); |
| 529 | if (data->GetStackEventData() == nullptr) { |
| 530 | AtlMessageBox(*this, L"Call stack not available for this event", IDS_TITLE, MB_ICONEXCLAMATION); |
| 531 | return 0; |
| 532 | } |
| 533 | |
| 534 | CCallStackDlg dlg(data); |
| 535 | dlg.DoModal(); |
| 536 | |
| 537 | return 0; |
| 538 | } |
| 539 | |
| 540 | LRESULT CEtwView::OnEventProperties(WORD, WORD, HWND, BOOL&) { |
| 541 | auto selected = m_List.GetSelectedIndex(); |
nothing calls this directly
no test coverage detected