MCPcopy Create free account
hub / github.com/TranslucentTB/TranslucentTB / update_thread

Method update_thread

ExplorerHooks/detourtransaction.cpp:62–74  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

60}
61
62void DetourTransaction::update_thread(unique_handle_failfast hThread) noexcept
63{
64 FAIL_FAST_IF_WIN32_ERROR(DetourUpdateThread(hThread.get()));
65
66 const auto mem = HeapAlloc(s_Heap.get(), 0, sizeof(node));
67 FAIL_FAST_LAST_ERROR_IF_NULL(mem);
68
69 m_Head.reset(new (mem) node
70 {
71 .thread = std::move(hThread),
72 .next = std::move(m_Head)
73 });
74}
75
76DetourTransaction::DetourTransaction() noexcept
77{

Callers

nothing calls this directly

Calls 1

getMethod · 0.80

Tested by

no test coverage detected