| 34 | } |
| 35 | |
| 36 | bool BypassObjectCallback::Unbypass() { |
| 37 | NTSTATUS status = DetourDetach((PVOID*)&g_pObpCallPreOperationCallbacks, ObpCallPreOperationCallbacks); |
| 38 | if (!NT_SUCCESS(status)) |
| 39 | return false; |
| 40 | |
| 41 | status = DetourTransactionCommit(); |
| 42 | if (!NT_SUCCESS(status)) |
| 43 | return false; |
| 44 | |
| 45 | return true; |
| 46 | } |
nothing calls this directly
no test coverage detected