| 228 | } |
| 229 | |
| 230 | BOOL SymbolHandler::Callback(ULONG code, ULONG64 data) { |
| 231 | MSG msg; |
| 232 | while (::PeekMessage(&msg, nullptr, 0, 0, PM_REMOVE)) |
| 233 | ::DispatchMessage(&msg); |
| 234 | |
| 235 | return 0; |
| 236 | } |
| 237 | |
| 238 | std::unique_ptr<SymbolHandler> SymbolHandler::CreateForProcess(DWORD pid, PCSTR searchPath) { |
| 239 | auto hProcess = ::OpenProcess(PROCESS_QUERY_INFORMATION | SYNCHRONIZE, FALSE, pid); |
nothing calls this directly
no outgoing calls
no test coverage detected