Error in the "Synchronizing Cancellation of Sent Requests” WDK Topic
An error has been identified in the WDK topic, “Synchronizing Cancellation of Sent Requests”, and is being corrected.
This topic, which is part of the documentation for Kernel Mode Driver Framework (KMDF), incorrectly indicates that a driver and its CompletionRoutine callback function could use a framework wait lock (WdfWaitLockAcquire/WdfWaitLockRelease) to synchronize access to request objects. The correct type of lock to use in this situation is a framework spin lock (WdfSpinLockAcquire/WdfSpinLockRelease), which boosts the IRQL to DISPATCH_LEVEL.
Windows Driver Kit Writing Team
This posting is provided "AS IS" with no warranties, and confers no rights.