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

Method GetRowImage

WinArk/EtwView.cpp:129–140  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

127}
128
129int CEtwView::GetRowImage(HWND, int row) const {
130 auto& evt = m_Events[row];
131 if (auto it = s_IconsMap.find(evt->GetEventName()); it != s_IconsMap.end())
132 return it->second;
133
134 auto pos = evt->GetEventName().find(L'/');
135 if (pos != std::wstring::npos) {
136 if (auto it = s_IconsMap.find(evt->GetEventName().substr(0, pos)); it != s_IconsMap.end())
137 return it->second;
138 }
139 return 0;
140}
141
142PCWSTR CEtwView::GetColumnTextPointer(HWND, int row, int col) const {
143 auto item = m_Events[row].get();

Callers

nothing calls this directly

Calls 1

endMethod · 0.45

Tested by

no test coverage detected