WDF_REQUEST_STOP_ACTION_FLAGS enumeration (wdfrequest.h)
[Applies to KMDF and UMDF]
The WDF_REQUEST_STOP_ACTION_FLAGS enumeration type defines flags that the framework passes to a driver's EvtIoStop callback function.
Syntax
typedef enum _WDF_REQUEST_STOP_ACTION_FLAGS {
WdfRequestStopActionInvalid = 0,
WdfRequestStopActionSuspend = 0x01,
WdfRequestStopActionPurge = 0x2,
WdfRequestStopRequestCancelable = 0x10000000
} WDF_REQUEST_STOP_ACTION_FLAGS;
Constants
WdfRequestStopActionInvalid Value: 0 Reserved for internal use only. |
WdfRequestStopActionSuspend Value: 0x01 The framework is stopping the I/O queue because the device is leaving its working (D0) state. |
WdfRequestStopActionPurge Value: 0x2 The framework is stopping the I/O queue because the device is being removed. |
WdfRequestStopRequestCancelable Value: 0x10000000 The I/O request is cancelable. |
Remarks
When the framework calls a driver's EvtIoStop callback function, it sets either the WdfRequestStopActionSuspend or WdfRequestStopActionPurge flag. If the request is cancelable, the framework also sets the WdfRequestStopRequestCancelable flag.
Requirements
Requirement | Value |
---|---|
Minimum KMDF version | 1.0 |
Minimum UMDF version | 2.0 |
Header | wdfrequest.h (include Wdf.h) |