WDF_IO_TARGET_STATE enumeration

[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               = 1,
  WdfIoTargetStopped               = 2,
  WdfIoTargetClosedForQueryRemove  = 3,
  WdfIoTargetClosed                = 4,
  WdfIoTargetDeleted               = 5,
  WdfIoTargetPurged                = 6
} 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.

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

Minimum KMDF version

1.0

Minimum UMDF version

2.0

Header

Wdfiotarget.h (include Wdf.h)

See also

WdfIoTargetGetState

 

 

Send comments about this topic to Microsoft

Mostra:
© 2014 Microsoft