What does HRESULT 0xC0AA0501 (E_IMAPI_DF2TAO_WRITE_NOT_IN_PROGRESS) mean?

 
Previous Next
E_IMAPI_DF2TAO_WRITE_IN_PROGRESS E_IMAPI_DF2TAO_MEDIA_IS_NOT_PREPARED

E_IMAPI_DF2TAO_WRITE_NOT_IN_PROGRESS

E_IMAPI_DF2TAO_WRITE_NOT_IN_PROGRESS indicates that code attempted an operation which expects an active Track-at-Once write, but no AddAudioTrack operation is currently running. It is the lifecycle counterpart to E_IMAPI_DF2TAO_WRITE_IN_PROGRESS.

Check cancellation and completion races

  • Timestamp AddAudioTrack entry and return together with cancel requests.
  • Associate user actions with a track-operation identifier so a late cancel can be ignored after completion.
  • If the write never started, inspect earlier PrepareMedia, recorder or stream errors.

The inserted media may still be prepared and locked even though no write is active. That is a separate session state, closed through ReleaseMedia. Do not infer from this HRESULT that the media has been released. Diagnose write activity and prepared-session state independently; otherwise cleanup code can either issue duplicate control calls or leak the media lock.

AddAudioTrack · ReleaseMedia · IMAPI return values


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