WDF_IO_TARGET_STATE enumeration (wudfddi_types.h)
[Applies to KMDF and UMDF]
The WDF_IO_TARGET_STATE enumeration specifies the states that an I/O target can be in.
Syntax
typedef enum _WDF_IO_TARGET_STATE {
WdfIoTargetStateUndefined,
WdfIoTargetStarted,
WdfIoTargetStopped,
WdfIoTargetClosedForQueryRemove,
WdfIoTargetClosed,
WdfIoTargetDeleted,
WdfIoTargetStateMaximum
} WDF_IO_TARGET_STATE, *PWDF_IO_TARGET_STATE;
Constants
WdfIoTargetStateUndefined Reserved for internal use. |
WdfIoTargetStarted The I/O target is started and can process I/O requests. |
WdfIoTargetStopped The I/O target is temporarily stopped and cannot process I/O requests. |
WdfIoTargetClosedForQueryRemove The I/O target's underlying device might be removed in the near future. |
WdfIoTargetClosed The I/O target is permanently stopped and cannot process I/O requests. |
WdfIoTargetDeleted The I/O target's underlying device has been removed. |
WdfIoTargetStateMaximum |
Remarks
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.
Requirements
Requirement | Value |
---|---|
Minimum KMDF version | 1.0 |
Minimum UMDF version | 1.11 |
Header | wudfddi_types.h (include Wdf.h) |
See also
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for