// wdfiotarget.h
typedef enum _WDF_IO_TARGET_STATE {
WdfIoTargetStateUndefined = 0,
WdfIoTargetStarted,
WdfIoTargetStopped,
WdfIoTargetClosedForQueryRemove,
WdfIoTargetClosed,
WdfIoTargetDeleted,
WdfIoTargetPurged
} WDF_IO_TARGET_STATE, *PWDF_IO_TARGET_STATE;
View the official Windows Driver Kit DDI reference// wudfddi_types.h
typedef enum _WDF_IO_TARGET_STATE {
WdfIoTargetStateUndefined,
WdfIoTargetStarted,
WdfIoTargetStopped,
WdfIoTargetClosedForQueryRemove,
WdfIoTargetClosed,
WdfIoTargetDeleted,
WdfIoTargetStateMaximum
} WDF_IO_TARGET_STATE, *PWDF_IO_TARGET_STATE;
View the official Windows Driver Kit DDI referenceNo description available.
[Applies to KMDF and UMDF]
The WDF_IO_TARGET_STATE enumeration specifies the states that an I/O target can be in.
WdfIoTargetStateUndefined:0Reserved for internal use.
WdfIoTargetStartedThe I/O target is started and can process I/O requests.
WdfIoTargetStoppedThe I/O target is temporarily stopped and cannot process I/O requests.
WdfIoTargetClosedForQueryRemoveThe I/O target's underlying device might be removed in the near future.
WdfIoTargetClosedThe I/O target is permanently stopped and cannot process I/O requests.
WdfIoTargetDeletedThe I/O target's underlying device has been removed.
WdfIoTargetPurgedThe I/O target is temporarily purged and cannot receive or process I/O requests. This constant is available starting in KMDF 1.11.
To obtain an I/O target's current state, call WdfIoTargetGetState.
For more information about states for I/O targets, see Controlling a General I/O Target's State.
[Applies to KMDF and UMDF]
The WDF_IO_TARGET_STATE enumeration specifies the states that an I/O target can be in.
WdfIoTargetStateUndefinedReserved for internal use.
WdfIoTargetStartedThe I/O target is started and can process I/O requests.
WdfIoTargetStoppedThe I/O target is temporarily stopped and cannot process I/O requests.
WdfIoTargetClosedForQueryRemoveThe I/O target's underlying device might be removed in the near future.
WdfIoTargetClosedThe I/O target is permanently stopped and cannot process I/O requests.
WdfIoTargetDeletedThe I/O target's underlying device has been removed.
WdfIoTargetStateMaximumTo obtain an I/O target's current state, call WdfIoTargetGetState.
For more information about states for I/O targets, see Controlling a General I/O Target's State.