// wdfrequest.h
EVT_WDF_REQUEST_CANCEL EvtWdfRequestCancel;
VOID EvtWdfRequestCancel(
[in] WDFREQUEST Request
)
{...}
View the official Windows Driver Kit DDI referenceNo description available.
[Applies to KMDF and UMDF]
A driver's EvtRequestCancel event callback function handles operations that must be performed when an I/O request is canceled.
Request [in]A handle to a framework request object that represents the I/O request that is being canceled.
To register an EvtRequestCancel callback function, the driver must call WdfRequestMarkCancelable or WdfRequestMarkCancelableEx.
When the framework calls your driver's EvtRequestCancel callback function, if the driver can cancel the request, it must:
For more information about this callback function, see Canceling I/O Requests.