| Previous | Next |
| E_IMAPI_ERASE_DRIVE_FAILED_SPINUP_COMMAND | E_IMAPI_RAW_IMAGE_TOO_MANY_TRACKS |
E_IMAPI_RAW_IMAGE_IS_READ_ONLY
E_IMAPI_RAW_IMAGE_IS_READ_ONLY indicates that IRawCDImageCreator::CreateResultImage has already finalized the creator object. Microsoft documents that CreateResultImage can be called only once and makes the creator read-only. Properties may still be read, but image layout and track settings can no longer be changed.
Find the first finalization point in the image-building lifecycle
- Trace the call to
CreateResultImageand every later attempt to add tracks or change image properties. - Keep image construction and image consumption as separate phases; pass the result
IStreamto storage orIDiscFormat2RawCDafter finalization. - Create a new raw-image creator if the track layout must be rebuilt.
Retrying the failed setter on the same object cannot restore write access because read-only state is a documented consequence of finalization. This differs from recorder write-state errors such as “write in progress”: no device operation needs to finish. The object itself has crossed a one-way lifecycle boundary. A common diagnostic clue is helper code that calls CreateResultImage for size or preview purposes and then returns the same creator to code that still expects to edit tracks.
CreateResultImage · IRawCDImageCreator · IMAPI return values
Looking for a different code? Search another status or error code.