共用方式為


IMAPI_FORMAT2_DATA_WRITE_ACTION列舉 (imapi2.h)

定義值,指出使用 IDiscFormat2DataEventArgs 介面時寫入作業的目前狀態。

Syntax

typedef enum _IMAPI_FORMAT2_DATA_WRITE_ACTION {
  IMAPI_FORMAT2_DATA_WRITE_ACTION_VALIDATING_MEDIA = 0,
  IMAPI_FORMAT2_DATA_WRITE_ACTION_FORMATTING_MEDIA = 0x1,
  IMAPI_FORMAT2_DATA_WRITE_ACTION_INITIALIZING_HARDWARE = 0x2,
  IMAPI_FORMAT2_DATA_WRITE_ACTION_CALIBRATING_POWER = 0x3,
  IMAPI_FORMAT2_DATA_WRITE_ACTION_WRITING_DATA = 0x4,
  IMAPI_FORMAT2_DATA_WRITE_ACTION_FINALIZATION = 0x5,
  IMAPI_FORMAT2_DATA_WRITE_ACTION_COMPLETED = 0x6,
  IMAPI_FORMAT2_DATA_WRITE_ACTION_VERIFYING = 0x7
} IMAPI_FORMAT2_DATA_WRITE_ACTION, *PIMAPI_FORMAT2_DATA_WRITE_ACTION;

常數

 
IMAPI_FORMAT2_DATA_WRITE_ACTION_VALIDATING_MEDIA
值: 0
驗證目前媒體是否受到支援。
IMAPI_FORMAT2_DATA_WRITE_ACTION_FORMATTING_MEDIA
值: 0x1
視需要格式化媒體。
IMAPI_FORMAT2_DATA_WRITE_ACTION_INITIALIZING_HARDWARE
值: 0x2
初始化硬體,例如設定磁碟驅動器寫入速度。
IMAPI_FORMAT2_DATA_WRITE_ACTION_CALIBRATING_POWER
值: 0x3
優化寫入媒體的雷射強度。
IMAPI_FORMAT2_DATA_WRITE_ACTION_WRITING_DATA
值: 0x4
將數據寫入媒體。
IMAPI_FORMAT2_DATA_WRITE_ACTION_FINALIZATION
值: 0x5
完成寫入。 此狀態是媒體相依的,可以包含關閉播放軌或會話或完成背景格式設定等專案。
IMAPI_FORMAT2_DATA_WRITE_ACTION_COMPLETED
值: 0x6
成功完成寫入程式。
IMAPI_FORMAT2_DATA_WRITE_ACTION_VERIFYING
值: 0x7
驗證已使用媒體的完整性。

規格需求

需求
最低支援的用戶端 Windows Vista、Windows XP 與 SP2 [僅限傳統型應用程式]
最低支援的伺服器 Windows Server 2003 [僅限傳統型應用程式]
標頭 imapi2.h

另請參閱

IDiscFormat2DataEventArgs::get_CurrentAction