NTCancelSession( IN PDEVICE_OBJECT DeviceContext, IN PIRP pIrp ); Routine Description: This routine handles the cancelling a connect Irp. It must release the cancel spin lock before returning re: IoCancelIrp(). It is called when the session setup pdu has been sent, and the state is still outbound. The cancel routine is only setup when the timer is started to time sending the session response pdu. Arguments: Return Value: The final status from the operation.