WPD_OPERATION_STATES enumeration

The WPD_OPERATION_STATES enumeration values describe the current state of an operation in progress.

Syntax

typedef enum tagWPD_OPERATION_STATES { 
  WPD_OPERATION_STATE_UNSPECIFIED  = 0,
  WPD_OPERATION_STATE_STARTED      = 1,
  WPD_OPERATION_STATE_RUNNING      = 2,
  WPD_OPERATION_STATE_PAUSED       = 3,
  WPD_OPERATION_STATE_CANCELLED    = 4,
  WPD_OPERATION_STATE_FINISHED     = 5,
  WPD_OPERATION_STATE_ABORTED      = 6
} WPD_OPERATION_STATES;

Constants

WPD_OPERATION_STATE_UNSPECIFIED

The current operation is in an unspecified state (not set) and unknown.

WPD_OPERATION_STATE_STARTED

The operation is started.

WPD_OPERATION_STATE_RUNNING

The operation is running.

WPD_OPERATION_STATE_PAUSED

The operation is paused.

WPD_OPERATION_STATE_CANCELLED

The operation is canceled.

WPD_OPERATION_STATE_FINISHED

The operation is finished.

WPD_OPERATION_STATE_ABORTED

The operation is aborted.

Remarks

These values are received in the application-defined callback (IPortableDeviceEventCallback).

Requirements

Requirement Value
Header
PortableDevice.h

See also

Structures and Enumeration Types