Skip to content

Latest commit

 

History

History
88 lines (64 loc) · 4.63 KB

ne-wdfiotarget-_wdf_io_target_sent_io_action.md

File metadata and controls

88 lines (64 loc) · 4.63 KB
UID title description old-location tech.root ms.date keywords ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames f1_keywords topic_type api_type api_location api_name
NE:wdfiotarget._WDF_IO_TARGET_SENT_IO_ACTION
_WDF_IO_TARGET_SENT_IO_ACTION (wdfiotarget.h)
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.
wdf\wdf_io_target_sent_io_action.htm
wdf
02/26/2018
WDF_IO_TARGET_SENT_IO_ACTION enumeration
DFIOTargetRef_f9150c63-6b0b-4050-b4ae-fd5ebbda4e0d.xml, WDF_IO_TARGET_SENT_IO_ACTION, WDF_IO_TARGET_SENT_IO_ACTION enumeration, WdfIoTargetCancelSentIo, WdfIoTargetLeaveSentIoPending, WdfIoTargetSentIoUndefined, WdfIoTargetWaitForSentIoToComplete, _WDF_IO_TARGET_SENT_IO_ACTION, kmdf.wdf_io_target_sent_io_action, wdf.wdf_io_target_sent_io_action, wdfiotarget/WDF_IO_TARGET_SENT_IO_ACTION, wdfiotarget/WdfIoTargetCancelSentIo, wdfiotarget/WdfIoTargetLeaveSentIoPending, wdfiotarget/WdfIoTargetSentIoUndefined, wdfiotarget/WdfIoTargetWaitForSentIoToComplete
wdfiotarget.h
Wdf.h
Windows
1.0
2.0
Windows
WDF_IO_TARGET_SENT_IO_ACTION
_WDF_IO_TARGET_SENT_IO_ACTION
wdfiotarget/_WDF_IO_TARGET_SENT_IO_ACTION
WDF_IO_TARGET_SENT_IO_ACTION
wdfiotarget/WDF_IO_TARGET_SENT_IO_ACTION
APIRef
kbSyntax
HeaderDef
wdfiotarget.h
_WDF_IO_TARGET_SENT_IO_ACTION
WDF_IO_TARGET_SENT_IO_ACTION

_WDF_IO_TARGET_SENT_IO_ACTION enumeration (wdfiotarget.h)

-description

[Applies to KMDF and UMDF]

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.

-enum-fields

-field WdfIoTargetSentIoUndefined:0

Reserved for system use.

-field 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. The framework also attempts to cancel I/O requests that have left the I/O target's queue and entered lower drivers.

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

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

-remarks

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

-see-also

CompletionRoutine

WdfIoTargetStop