| 67 | } |
| 68 | |
| 69 | void SWCADetour::Uninstall() noexcept |
| 70 | { |
| 71 | if (s_DetourInstalled) |
| 72 | { |
| 73 | DetourTransaction transaction; |
| 74 | transaction.update_all_threads(); |
| 75 | transaction.detach(SetWindowCompositionAttribute, FunctionDetour); |
| 76 | transaction.commit(); |
| 77 | |
| 78 | s_DetourInstalled = false; |
| 79 | } |
| 80 | } |
nothing calls this directly
no test coverage detected