PSS ID Number: 188276
Article Last Modified on 12/22/2001
The information in this article applies to:
- Microsoft Win32 Device Driver Kit (DDK) for Windows NT 4.0
This article was previously published under Q188276
SUMMARY
Cancel.exe is a sample that demonstrates how the cancel-and-cleanup driver
uses the new I/O request packet (IRP) cancellation technique that minimizes the use of global cancel
spinlock, thereby reducing contention and improving overall system
performance.
The sample also shows how to queue cancelable IRPs in a driver's
private queue and handle the cancelled IRPs in the cancel-and-cleanup
routine by the new design. The cancel-and-cleanup driver is functionally
similar to the STARTIO driver, except that it manages its own queue instead of using DeviceObject's internal device queue and
IoStartPacket/IoStartNextPacket system functions.
Additional query words: Cancel
Keywords: kbDSupport kbfile kbSample KB188276
Technology: kbAudDeveloper kbWin32DDKNT400 kbWin32DDKNTSearch kbWin32DDKSearch kbWin32sSearch kbWinDDKSearch