title | description | ms.date | keywords | topic_type | ms.topic | api_name | api_type | ||||
---|---|---|---|---|---|---|---|---|---|---|---|
CompleteCanceledReq Rule (KMDF) |
The CompleteCanceledReq rule specifies that if the request has already been canceled, the request is no longer valid, and the driver should not complete it. |
05/21/2018 |
|
|
reference |
|
|
The CompleteCanceledReq rule specifies that if the request has already been canceled, the request is no longer valid, and the driver should not complete it. While the driver unmarks a request that was previously marked cancelable, it must check that the request has not already been canceled. If the driver does not make this check, the driver might complete a request that has been freed.
Driver model: KMDF
At compile time |
---|
Run Static Driver Verifier and specify the CompleteCanceledReq rule. Use the following steps to run an analysis of your code:
For more information, see Using Static Driver Verifier to Find Defects in Drivers. |
WdfRequestComplete WdfRequestCompleteWithInformation WdfRequestCompleteWithPriorityBoost WdfRequestUnmarkCancelable