Bewerken

Delen via


WDF_IO_TARGET_STATE enumeration (wdfiotarget.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 = 0,
  WdfIoTargetStarted,
  WdfIoTargetStopped,
  WdfIoTargetClosedForQueryRemove,
  WdfIoTargetClosed,
  WdfIoTargetDeleted,
  WdfIoTargetPurged
} WDF_IO_TARGET_STATE, *PWDF_IO_TARGET_STATE;

Constants

 
WdfIoTargetStateUndefined
Value: 0
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.
WdfIoTargetPurged
The I/O target is temporarily purged and cannot receive or process I/O requests. This constant is available starting in KMDF 1.11.

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 wdfiotarget.h (include Wdf.h)

See also

WdfIoTargetGetState