| 103 | } |
| 104 | |
| 105 | void Attach(uint32_t processId, const std::filesystem::path& dllPath) |
| 106 | { |
| 107 | auto hTargetProcess = LibraryInject::OpenProcessAndMaybeElevate_(processId); |
| 108 | LibraryInject::InjectDll(hTargetProcess, dllPath); |
| 109 | } |
| 110 | |
| 111 | ProcessMap GetProcessNames() |
| 112 | { |
no test coverage detected