| 52 | } |
| 53 | |
| 54 | PFULL_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 | } |
no test coverage detected