共用方式為


WPD_OPERATION_STATES列舉

WPD_OPERATION_STATES列舉值描述進行中作業的目前狀態。

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;

常數

WPD_OPERATION_STATE_UNSPECIFIED

目前的作業處於未指定的狀態, (未設定) 和未知。

WPD_OPERATION_STATE_STARTED

作業已啟動。

WPD_OPERATION_STATE_RUNNING

作業正在執行。

WPD_OPERATION_STATE_PAUSED

作業已暫停。

WPD_OPERATION_STATE_CANCELLED

作業已取消。

WPD_OPERATION_STATE_FINISHED

作業已完成。

WPD_OPERATION_STATE_ABORTED

作業已中止。

備註

這些值會在應用程式定義的回呼中接收, (IPortableDeviceEventCallback) 。

規格需求

需求
標頭
PortableDevice.h

另請參閱

結構和列舉型別