MCPcopy Create free account
hub / github.com/SafeBreach-Labs/PoolParty / w_CreateThreadpoolTimer

Function w_CreateThreadpoolTimer

PoolParty/ThreadPool.cpp:54–61  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

52}
53
54PFULL_TP_TIMER w_CreateThreadpoolTimer(PTP_TIMER_CALLBACK pTimerCallback, PVOID pTimerContext, PTP_CALLBACK_ENVIRON pCallbackEnviron) {
55 const auto pTpTimer = (PFULL_TP_TIMER)CreateThreadpoolTimer(pTimerCallback, pTimerContext, pCallbackEnviron);
56 if (NULL == pTpTimer) {
57 throw std::runtime_error(GetLastErrorString("CreateThreadpoolTimer", GetLastError()));
58 }
59
60 return pTpTimer;
61}

Callers 1

SetupExecutionMethod · 0.85

Calls 1

GetLastErrorStringFunction · 0.85

Tested by

no test coverage detected