PAGED_CODE();\r
\r
/* Queue the IRP */\r
- IopQueueIrpToThread(Irp);\r
+ //IopQueueIrpToThread(Irp);\r
\r
/* Update operation counts */\r
IopUpdateOperationCount(TransferType);\r
}\r
\r
/* Queue the IRP */\r
- IopQueueIrpToThread(Irp);\r
+ //IopQueueIrpToThread(Irp);\r
\r
/* Call the Driver */\r
Status = IoCallDriver(FileObject->DeviceObject, Irp);\r
StackPtr->Parameters.SetFile.Length = Length;\r
\r
/* Queue the IRP */\r
- IopQueueIrpToThread(Irp);\r
+ //IopQueueIrpToThread(Irp);\r
\r
/* Call the Driver */\r
Status = IoCallDriver(FileObject->DeviceObject, Irp);\r
KIRQL OldIrql;
ULONG Retries = 3000;
LARGE_INTEGER Interval;
- //PLIST_ENTRY ListHead, NextEntry;
- //PIRP Irp;
+ PLIST_ENTRY ListHead, NextEntry;
+ PIRP Irp;
IOTRACE(IO_IRP_DEBUG,
"%s - Canceling IRPs for Thread %p\n",
__FUNCTION__,
OldIrql = KfRaiseIrql(APC_LEVEL);
/* Start by cancelling all the IRPs in the current thread queue. */
-#if 0
ListHead = &Thread->IrpList;
NextEntry = ListHead->Flink;
while (ListHead != NextEntry)
/* Move to the next entry */
NextEntry = NextEntry->Flink;
}
-#endif
/* Wait 100 milliseconds */
Interval.QuadPart = -1000000;