usbip_windows icon indicating copy to clipboard operation
usbip_windows copied to clipboard

Move from our own managed Cancel IRP routine to Cancel-safe IRP Queues

Open Oxalin opened this issue 8 years ago • 0 comments

We implement and manage our own Cancel IRP routine. However, since Windows XP, this can be replaced and more easily managed by cancel-safe IRP queues.

Evaluate and possibly move to Cancel-Safe IRP Queues instead of our own cancel routine. Cancel-Safe IRP Queues are natively available since Windows XP. If we still want to support Windows 2000, we need to explicitly link againt the Csq.lib library that is included in the Windows Driver Kit (WDK). See: https://docs.microsoft.com/en-us/windows-hardware/drivers/kernel/cancel-safe-irp-queues

Oxalin avatar Feb 27 '18 01:02 Oxalin