| 12 | } |
| 13 | |
| 14 | PFULL_TP_WAIT w_CreateThreadpoolWait(PTP_WAIT_CALLBACK pWaitCallback, PVOID pWaitContext, PTP_CALLBACK_ENVIRON pCallbackEnviron) { |
| 15 | const auto pTpWait = (PFULL_TP_WAIT)CreateThreadpoolWait(pWaitCallback, pWaitCallback, pCallbackEnviron); |
| 16 | if (NULL == pTpWait) { |
| 17 | throw std::runtime_error(GetLastErrorString("CreateThreadpoolWait", GetLastError())); |
| 18 | } |
| 19 | return pTpWait; |
| 20 | } |
| 21 | |
| 22 | PFULL_TP_IO w_CreateThreadpoolIo(HANDLE hFile, PTP_WIN32_IO_CALLBACK pCallback, PVOID pContext, PTP_CALLBACK_ENVIRON pCallbackEnviron) { |
| 23 | const auto pTpIo = (PFULL_TP_IO)CreateThreadpoolIo(hFile, pCallback, pContext, pCallbackEnviron); |
no test coverage detected