| Previous | Next |
| E_IMAPI_RAW_IMAGE_SECTOR_TYPE_NOT_SUPPORTED | E_IMAPI_RAW_IMAGE_TRACKS_ALREADY_ADDED |
E_IMAPI_RAW_IMAGE_NO_TRACKS
E_IMAPI_RAW_IMAGE_NO_TRACKS reports an empty raw CD image where the requested operation requires track layout. IRawCDImageCreator::AddTrack stores the supplied IStream as the next track, while CreateResultImage finalizes the current settings into the result stream.
Confirm that track creation actually happened before finalization
- Count successful
AddTrackcalls, not just source items discovered by the application. - Preserve the HRESULT from each add operation; a failed add can leave the creator with zero tracks.
- Do not call final image or track-dependent operations on a newly created creator until at least one track has been accepted.
An empty source directory, filtered playlist, or earlier stream-validation failure can all lead to this state even when the caller expected content. The fix is to repair the image-building sequence and add valid track data. Adding a pregap or setting disc-wide properties is not a substitute for a track. If tracks were added and the error still appears, verify that the failing code is using the same creator instance rather than a newly constructed object.
AddTrack · IRawCDImageCreator · IMAPI return values
Looking for a different code? Search another status or error code.