| Previous | Next |
| E_IMAPI_RAW_IMAGE_NO_TRACKS | E_IMAPI_RAW_IMAGE_INSUFFICIENT_SPACE |
E_IMAPI_RAW_IMAGE_TRACKS_ALREADY_ADDED
E_IMAPI_RAW_IMAGE_TRACKS_ALREADY_ADDED marks an ordering violation in IRawCDImageCreator. Some image-wide configuration must be established before the first track stream is accepted, because later track placement depends on those settings. Once tracks exist, IMAPI refuses the operation rather than silently rebuilding their layout.
Move image-wide configuration ahead of AddTrack
- Trace the first successful
AddTrackand the configuration call that later returns this HRESULT. - Set starting-track, leadout or special pregap related options before adding track streams when the corresponding API requires that order.
- If configuration must change, recreate the image creator and replay track construction in the correct sequence.
This differs from E_IMAPI_RAW_IMAGE_IS_READ_ONLY. Here the creator has tracks but has not necessarily been finalized; the problem is a pre-track configuration contract. In the read-only case, CreateResultImage has already made the object immutable. Logging lifecycle milestones—creator construction, global configuration, each track addition and finalization—usually identifies the first call made out of order.
IRawCDImageCreator · AddTrack · CreateResultImage
Looking for a different code? Search another status or error code.