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

Method OnCallStack

WinArk/EtwView.cpp:523–538  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

521}
522
523LRESULT 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
540LRESULT CEtwView::OnEventProperties(WORD, WORD, HWND, BOOL&) {
541 auto selected = m_List.GetSelectedIndex();

Callers

nothing calls this directly

Calls 1

GetStackEventDataMethod · 0.80

Tested by

no test coverage detected