| Previous | Next |
| IMAPI_E_IMPORT_READ_FAILURE | IMAPI_E_IMPORT_MEDIA_NOT_ALLOWED |
IMAPI_E_DISC_MISMATCH
IMAPI_E_DISC_MISMATCH protects multisession continuity. IMAPI imported filesystem state from one disc, but the current medium is not the same disc. IFileSystemImage::CalculateDiscIdentifier returns a string that identifies a disc and the sessions recorded on it, providing an explicit way to track media identity.
Bind imported state to the exact source disc
- Record the disc identifier before import and again before the write step.
- Invalidate imported filesystem state on media-change or eject notifications.
- Do not reuse one
IFileSystemImagemultisession object across different physical discs without rebuilding it.
The image hierarchy may look valid in memory, but its session start, imported filesystem and multisession parameters describe the original medium. Writing that state to another disc would break the append assumptions. Re-inserting the original disc or rebuilding the image for the new disc is the appropriate recovery; changing filenames or write speed cannot correct disc identity.
CalculateDiscIdentifier · Creating a multisession disc · IFileSystemImage
Looking for a different code? Search another status or error code.