106 PFC_ASSERT( timeout != INFINITE );
107 const DWORD entry = GetTickCount();
108 const HANDLE handles[2] = {ev, abort.get_abort_event()};
110 const DWORD done = GetTickCount() - entry;
111 if (done >= timeout)
return false;
113 const DWORD status = MsgWaitForMultipleObjects(2, handles, FALSE, timeout - done, QS_ALLINPUT);
119 case WAIT_OBJECT_0 + 1:
120 throw exception_aborted();
121 case WAIT_OBJECT_0 + 2:
PFC_NORETURN PFC_NOINLINE void WIN32_OP_FAIL()
typedef HANDLE(WINAPI *pPowerCreateRequest_t)(__in void *Context)
PFC_NORETURN void SHARED_EXPORT uBugCheck()
static void ProcessPendingMessages()