warning C28144: Within a cancel routine, at the point of exit, the IRQL in Irp->CancelIrql should be the current IRQL.
The value need not be restored by any specific function, but must be restored before exit. PREfast was unable to determine that it was restored to the required value.
When the driver's Cancel routine exits, the value of the Irp->CancelIrql member is not the current IRQL. Typically, this error occurs when the driver does not call IoReleaseCancelSpinLock with the IRQL that was supplied by the most recent call to IoAcquireCancelSpinLock.
The following code example elicits this warning.
The following code example avoids this warning.
Build date: 5/7/2013