| 207 | } |
| 208 | |
| 209 | std::wstring CKernelModuleTable::GetSingleKernelModuleInfo(std::shared_ptr<WinSys::KernelModuleInfo>& info) { |
| 210 | CString text; |
| 211 | CString s; |
| 212 | |
| 213 | s = info->Name.c_str(); |
| 214 | s += L"\t"; |
| 215 | text += s; |
| 216 | |
| 217 | s.Format(L"0x%p", info->ImageBase); |
| 218 | s += L"\t"; |
| 219 | text += s; |
| 220 | |
| 221 | s.Format(L"0x%X", info->ImageSize); |
| 222 | s += L"\t"; |
| 223 | text += s; |
| 224 | |
| 225 | s.Format(L"%u", info->LoadOrderIndex); |
| 226 | s += L"\t"; |
| 227 | text += s; |
| 228 | |
| 229 | s = GetCompanyName(Helpers::StringToWstring(info->FullPath)).c_str(); |
| 230 | s += L"\t"; |
| 231 | text += s; |
| 232 | |
| 233 | s = info->FullPath.c_str(); |
| 234 | s += L"\t"; |
| 235 | text += s; |
| 236 | |
| 237 | text += L"\r\n"; |
| 238 | |
| 239 | return text.GetString(); |
| 240 | } |
| 241 | |
| 242 | LRESULT CKernelModuleTable::OnGoToFileLocation(WORD /*wNotifyCode*/, WORD /*wID*/, HWND /*hWndCtl*/, BOOL& /*bHandled*/) { |
| 243 | int selected = m_Table.data.selected; |