WDF_IO_TARGET_OPEN_PARAMS_INIT_OPEN_BY_FILE
WDF_IO_TARGET_PURGE_IO_ACTION
WdfIoTargetPurge method
Collapse the table of content
Expand the table of content
展開 最小化

WDF_IO_TARGET_SENT_IO_ACTION 列挙型

The WDF_IO_TARGET_SENT_IO_ACTION enumeration identifies the actions that the framework can take when a driver calls WdfIoTargetStop to stop an I/O target.

構文

typedef enum _WDF_IO_TARGET_SENT_IO_ACTION {
  WdfIoTargetSentIoUndefined           = 0,
  WdfIoTargetCancelSentIo              = 1,
  WdfIoTargetWaitForSentIoToComplete   = 2,
  WdfIoTargetLeaveSentIoPending        = 3 
} WDF_IO_TARGET_SENT_IO_ACTION;

定数

WdfIoTargetSentIoUndefined

Reserved for system use.

WdfIoTargetCancelSentIo

Before the framework stops the I/O target, it will attempt to cancel I/O requests that are in the I/O target's queue. The framework cancels all of the target queue's I/O requests, and waits for all I/O requests to complete, before WdfIoTargetStop returns.

WdfIoTargetWaitForSentIoToComplete

Before the framework stops the I/O target, it will wait for I/O requests that are in the I/O target's queue to be completed. The framework completes all of the target queue's I/O requests, and calls each request's CompletionRoutine callback function, before WdfIoTargetStop returns.

WdfIoTargetLeaveSentIoPending

The framework will leave I/O requests in the I/O target's queue. The requests remain in the target's queue until the driver calls WdfIoTargetStart or the device is removed.

解説

The WDF_IO_TARGET_SENT_IO_ACTION enumeration is used as an input parameter to the WdfIoTargetStop method.

If your driver specifies the WdfIoTargetWaitForSentIoToComplete flag, the driver must not call WdfIoTargetStop from a request handler, a CompletionRoutine callback function, or an EvtUsbTargetPipeReadersFailed callback function.

For the UMDF version of this enumeration, see WDF_IO_TARGET_SENT_IO_ACTION (UMDF).

要件

バージョン

The WDF_IO_TARGET_SENT_IO_ACTION enumeration is available in version 1.0 and later versions of KMDF.

ヘッダー

Wdfiotarget.h (includeWdf.h)

参照

CompletionRoutine
WdfIoTargetStop

 

 

コミュニティの追加

追加
表示:
© 2015 Microsoft