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,
  WdfRequestStopActionSuspend,
  WdfRequestStopActionPurge,
  WdfRequestStopRequestCancelable
} WDF_REQUEST_STOP_ACTION_FLAGS;

Constants

 
WdfRequestStopActionInvalid
Reserved for internal use only.
WdfRequestStopActionSuspend
The framework is stopping the I/O queue because the device is leaving its working (D0) state.
WdfRequestStopActionPurge
The framework is stopping the I/O queue because the device is being removed.
WdfRequestStopRequestCancelable
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

   
Minimum KMDF version 1.0
Minimum UMDF version 2.0
Header wdfrequest.h (include Wdf.h)

See also

EvtIoStop