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

Method GetSingleUnloadedDriverInfo

WinArk/UnloadedDriverTable.cpp:162–185  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

160}
161
162std::wstring CUnloadedDriverTable::GetSingleUnloadedDriverInfo(UnloadedDriverInfo& info) {
163 CString text;
164 CString s;
165
166 s = info.DriverName.c_str();
167 s += L"\t";
168 text += s;
169
170 s.Format(L"0x%p", info.StartAddress);
171 s += L"\t";
172 text += s;
173
174 s.Format(L"0x%p", info.EndAddress);
175 s += L"\t";
176 text += s;
177
178 s = FormatHelper::TimeToString(info.CurrentTime.QuadPart);
179 s += L"\t";
180 text += s;
181
182 text += L"\r\n";
183
184 return text.GetString();
185}
186
187LRESULT CUnloadedDriverTable::OnUnloadedDriverCopy(WORD /*wNotifyCode*/, WORD /*wID*/, HWND /*hWndCtl*/, BOOL& /*bHandled*/) {
188 int selected = m_Table.data.selected;

Callers

nothing calls this directly

Calls 1

GetStringMethod · 0.80

Tested by

no test coverage detected