What does HRESULT 0xC0AA0401 (E_IMAPI_DF2DATA_WRITE_NOT_IN_PROGRESS) mean?

 
Previous Next
E_IMAPI_DF2DATA_WRITE_IN_PROGRESS E_IMAPI_DF2DATA_INVALID_MEDIA_STATE

E_IMAPI_DF2DATA_WRITE_NOT_IN_PROGRESS

E_IMAPI_DF2DATA_WRITE_NOT_IN_PROGRESS is the opposite lifecycle condition from WRITE_IN_PROGRESS. A control or cancellation path expected IDiscFormat2Data to be writing, but no write operation is active.

Correlate control calls with the actual Write lifetime

  • Log the start and completion of Write, including its final HRESULT.
  • Record cancellation or status requests with the same job identifier so a late request can be recognized after completion.
  • Do not assume an asynchronous write remains active after the thread invoking Write has returned.

A common cause is a race between completion and a user-initiated cancel action. The disc contents and recorder capability are usually irrelevant to this HRESULT. If the write never began, preserve the earlier setup error—such as invalid media state, unsupported recorder or stream validation failure—because that earlier HRESULT explains why later control code sees no active writer.

IDiscFormat2Data · Write · IMAPI return values


Looking for a different code? Search another status or error code.