Hello Everyone?
I meet a problem when I write a driver for my virtual serials
device.
In driver, i need pend some wait event irp( for function WaitCommEvent()).
When The data is little, The wait event irp works well.
But when much data comes, The wait event irp often cancels automatically.
I set cancel routine for event wait irp,and the routine is called.
Why does the kernel cancel the irp?
Why is so?

Jerry