Expand Minimize

WDF_REQUEST_STOP_ACTION_FLAGS enumeration

[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

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

 

 

Send comments about this topic to Microsoft

Show:
© 2014 Microsoft