What does HRESULT 0xC0AA0404 (E_IMAPI_DF2DATA_STREAM_TOO_LARGE_FOR_CURRENT_MEDIA) mean?

 
Previous Next
E_IMAPI_DF2DATA_STREAM_NOT_SUPPORTED E_IMAPI_DF2DATA_MEDIA_NOT_BLANK

E_IMAPI_DF2DATA_STREAM_TOO_LARGE_FOR_CURRENT_MEDIA

E_IMAPI_DF2DATA_STREAM_TOO_LARGE_FOR_CURRENT_MEDIA means the stream accepted for a data write cannot fit on the current medium. IDiscFormat2Data exposes total sectors, free sectors and the next writable address so applications can compare the image with the actual media state before calling Write.

Compare image sectors with current-media capacity

  • Measure the stream in 2048-byte sectors after confirming sector alignment.
  • Read FreeSectorsOnMedia for incremental writing and record NextWritableAddress.
  • Recompute the values after changing media; capacity and existing sessions are properties of the inserted disc.

Do not diagnose this as an unsupported stream format. The stream may be perfectly valid but too large for the current disc or remaining appendable area. Reducing write speed does not change capacity. Appropriate responses are to reduce image content, choose larger compatible media, or rebuild the image/session plan against the actual free-sector budget exposed by IMAPI.

IDiscFormat2Data · Write · Checking media support


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