| 212 | } |
| 213 | |
| 214 | std::shared_ptr <CThread> CThreadManager::GetThreadFromId(DWORD dwThreadId) |
| 215 | { |
| 216 | for (const auto & thread : m_vThreadList) |
| 217 | if (thread->dwThreadId == dwThreadId) |
| 218 | return thread->customThread; |
| 219 | |
| 220 | return nullptr; |
| 221 | } |
| 222 | |
| 223 | std::shared_ptr <CThread> CThreadManager::GetThreadFromAddress(DWORD dwThreadAddress) |
| 224 | { |
no outgoing calls
no test coverage detected