WDF_REQUEST_STOP_ACTION_FLAGS枚举 (wdfrequest.h)

[适用于 KMDF 和 UMDF]

WDF_REQUEST_STOP_ACTION_FLAGS 枚举类型定义框架传递给驱动程序的 EvtIoStop 回调函数的标志。

语法

typedef enum _WDF_REQUEST_STOP_ACTION_FLAGS {
  WdfRequestStopActionInvalid = 0,
  WdfRequestStopActionSuspend = 0x01,
  WdfRequestStopActionPurge = 0x2,
  WdfRequestStopRequestCancelable = 0x10000000
} WDF_REQUEST_STOP_ACTION_FLAGS;

常数

 
WdfRequestStopActionInvalid
值:0
仅供内部使用。
WdfRequestStopActionSuspend
值:0x01
框架正在停止 I/O 队列,因为设备正在离开其工作状态(D0)。
WdfRequestStopActionPurge
值:0x2
框架正在停止 I/O 队列,因为设备正在删除。
WdfRequestStopRequestCancelable
值:0x10000000
I/O 请求是可取消的。

言论

当框架调用驱动程序的 EvtIoStop 回调函数时,它会设置 WdfRequestStopActionSuspendWdfRequestStopActionPurge 标志。 如果请求可取消,框架还会设置 WdfRequestStopRequestCancelable 标志。

要求

要求 价值
最低 KMDF 版本 1.0
最低 UMDF 版本 2.0
标头 wdfrequest.h (包括 Wdf.h)

另请参阅

EvtIoStop