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 回呼函式時,它會設定 WdfRequestStopActionSuspend 或 WdfRequestStopActionPurge 旗標。 如果要求是可取消的,架構也會設定 WdfRequestStopRequestCancelable 旗標。
要求
要求 | 價值 |
---|---|
最低 KMDF 版本 | 1.0 |
最低 UMDF 版本 | 2.0 |
標頭 | wdfrequest.h (包括 Wdf.h) |