| 117 | } |
| 118 | |
| 119 | const CString CNetwrokTable::GetProcessName(WinSys::Connection* conn) const { |
| 120 | auto itemx = GetItemEx(conn); |
| 121 | if (itemx) |
| 122 | return itemx->ProcessName; |
| 123 | ItemEx ix; |
| 124 | ix.ProcessName = m_pm.GetProcessNameById(conn->Pid).c_str(); |
| 125 | m_ItemsEx.insert({ *conn,ix }); |
| 126 | return ix.ProcessName; |
| 127 | } |
| 128 | |
| 129 | void CNetwrokTable::DoRefresh() { |
| 130 | m_Table.data.n = 0; |
no test coverage detected