IMAPI_FORMAT2_DATA_WRITE_ACTION enumeration (imapi2.h)

Defines values that indicate the current state of the write operation when using the IDiscFormat2DataEventArgs interface.

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;

Constants

 
IMAPI_FORMAT2_DATA_WRITE_ACTION_VALIDATING_MEDIA
Value: 0
Validating that the current media is supported.
IMAPI_FORMAT2_DATA_WRITE_ACTION_FORMATTING_MEDIA
Value: 0x1
Formatting media, when required.
IMAPI_FORMAT2_DATA_WRITE_ACTION_INITIALIZING_HARDWARE
Value: 0x2
Initializing the hardware, for example, setting drive write speeds.
IMAPI_FORMAT2_DATA_WRITE_ACTION_CALIBRATING_POWER
Value: 0x3
Optimizing laser intensity for writing to the media.
IMAPI_FORMAT2_DATA_WRITE_ACTION_WRITING_DATA
Value: 0x4
Writing data to the media.
IMAPI_FORMAT2_DATA_WRITE_ACTION_FINALIZATION
Value: 0x5
Finalizing the write. This state is media dependent and can include items such as closing the track or session, or finishing background formatting.
IMAPI_FORMAT2_DATA_WRITE_ACTION_COMPLETED
Value: 0x6
Successfully finished the write process.
IMAPI_FORMAT2_DATA_WRITE_ACTION_VERIFYING
Value: 0x7
Verifying the integrity of the burned media.

Requirements

Requirement Value
Minimum supported client Windows Vista, Windows XP with SP2 [desktop apps only]
Minimum supported server Windows Server 2003 [desktop apps only]
Header imapi2.h

See also

IDiscFormat2DataEventArgs::get_CurrentAction