| 31 | } |
| 32 | |
| 33 | void* DetourTransaction::PssAllocRoutineFailFast(void*, DWORD size) noexcept |
| 34 | { |
| 35 | const auto mem = HeapAlloc(s_Heap.get(), 0, size); |
| 36 | FAIL_FAST_LAST_ERROR_IF_NULL(mem); |
| 37 | |
| 38 | return mem; |
| 39 | } |
| 40 | |
| 41 | void DetourTransaction::PssFreeRoutineFailFast(void*, void* address) noexcept |
| 42 | { |