VOID
IoReleaseCancelSpinLock(
IN KIRQL Irql
);
IoReleaseCancelSpinLock releases the cancel spin lock after the driver has changed the cancelable state of an IRP. This routine also releases the cancel spin lock from the driver’s Cancel routine.
This routine is a reciprocal to IoAcquireCancelSpinLock.
The holder of the cancel spin lock executes at DISPATCH_LEVEL IRQL after calling IoAcquireCancelSpinLock. IoReleaseCancelSpinLock restores the original IRQL of its caller.
Callers of IoReleaseCancelSpinLock must be running at IRQL DISPATCH_LEVEL.