Hi, everyone.
I built an IRP and call it, IoCallDriver return STATUS_PENDING.
I wait it for 3 seconds, KeWaitForSingleObject return STATUS_TIMEOUT.
I use IoCompleteRequest to complete this IRP, but the system BSOD immediately.
So, how to complete the pending IRP immediately? There is no cancel routine of this IRP, cannot use IoCancelIrp.
I built an IRP and call it, IoCallDriver return STATUS_PENDING.
I wait it for 3 seconds, KeWaitForSingleObject return STATUS_TIMEOUT.
I use IoCompleteRequest to complete this IRP, but the system BSOD immediately.
So, how to complete the pending IRP immediately? There is no cancel routine of this IRP, cannot use IoCancelIrp.