WDF_REQUEST_STOP_ACTION_FLAGS - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// wdfrequest.h

typedef enum _WDF_REQUEST_STOP_ACTION_FLAGS {
  WdfRequestStopActionInvalid = 0,
  WdfRequestStopActionSuspend = 0x01,
  WdfRequestStopActionPurge = 0x2,
  WdfRequestStopRequestCancelable = 0x10000000
} WDF_REQUEST_STOP_ACTION_FLAGS;
View the official Windows Driver Kit DDI reference
// wudfddi_types.h

typedef enum _WDF_REQUEST_STOP_ACTION_FLAGS {
  WdfRequestStopActionInvalid,
  WdfRequestStopActionSuspend,
  WdfRequestStopActionPurge,
  WdfRequestStopRequestCancelable
} WDF_REQUEST_STOP_ACTION_FLAGS;
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (ne-wdfrequest-_wdf_request_stop_action_flags)

_WDF_REQUEST_STOP_ACTION_FLAGS enumeration (wdfrequest.h)

Description

[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.

Constants

WdfRequestStopActionInvalid:0

Reserved for internal use only.

WdfRequestStopActionSuspend:0x01

The framework is stopping the I/O queue because the device is leaving its working (D0) state.

WdfRequestStopActionPurge:0x2

The framework is stopping the I/O queue because the device is being removed.

WdfRequestStopRequestCancelable: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.

See also

EvtIoStop


Windows Driver Kit DDI reference (ne-wudfddi_types-_wdf_request_stop_action_flags)

_WDF_REQUEST_STOP_ACTION_FLAGS enumeration (wudfddi_types.h)

Description

[Warning: UMDF 2 is the latest version of UMDF and supersedes UMDF 1. All new UMDF drivers should be written using UMDF 2. No new features are being added to UMDF 1 and there is limited support for UMDF 1 on newer versions of Windows 10. Universal Windows drivers must use UMDF 2. For more info, see Getting Started with UMDF.]

The WDF_REQUEST_STOP_ACTION_FLAGS enumeration contains values that identify the state of a stop action request in a call to the driver's IQueueCallbackIoStop::OnIoStop method.

Constants

WdfRequestStopActionInvalid

If this value is set to 1, the request is invalid.

WdfRequestStopActionSuspend

If this value is set to 1, the device is suspended.

WdfRequestStopActionPurge

If this value is set to 1, the device and queue are removed.

WdfRequestStopRequestCancelable

If this value is set to 1, the request is marked as cancelable.

See also

IQueueCallbackIoStop::OnIoStop