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

Method GetSingleKernelModuleInfo

WinArk/KernelModuleTable.cpp:209–240  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

207}
208
209std::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
242LRESULT CKernelModuleTable::OnGoToFileLocation(WORD /*wNotifyCode*/, WORD /*wID*/, HWND /*hWndCtl*/, BOOL& /*bHandled*/) {
243 int selected = m_Table.data.selected;

Callers

nothing calls this directly

Calls 1

GetStringMethod · 0.80

Tested by

no test coverage detected