![]() |
От: | Аноним | |
Дата: | 07.12.07 15:30 | ||
Оценка: |
А> ntStatus = IoCallDriver(pHookExt->pDevTarget, pNewIrp);
А> if(ntStatus == STATUS_PENDING)
А> KeWaitForSingleObject(&event, Executive, KernelMode, FALSE, NULL); // вот здесь происходит ошибка
А>
Callers of KeWaitForSingleObject must be running at IRQL <= DISPATCH_LEVEL. Usually, the caller must be running at IRQL = PASSIVE_LEVEL and in a nonarbitrary thread context. A call while running at IRQL = DISPATCH_LEVEL is valid if and only if the caller specifies a Timeout of zero. That is, a driver must not wait for a nonzero interval at IRQL = DISPATCH_LEVEL.