| 50 | |
| 51 | |
| 52 | BOOL ProcessResolver::containsObject(DWORD pid) { |
| 53 | std::lock_guard<std::mutex> lock(cache_mutex); |
| 54 | auto it = cache.find(pid); |
| 55 | if (it != cache.end()) { |
| 56 | return TRUE; |
| 57 | } |
| 58 | else { |
| 59 | return FALSE; |
| 60 | } |
| 61 | } |
| 62 | |
| 63 | |
| 64 | void ProcessResolver::SetTargetNames(const std::vector<std::string>& names) { |