| Previous | Next |
| NS_E_PDA_DEVICE_FULL_IN_SESSION | NS_E_PDA_MANUALDEVICE |
NS_E_IMAPI_MEDIUM_INVALIDTYPE
Where this result occurs in the Player workflow
NS_E_IMAPI_MEDIUM_INVALIDTYPE (0xC00D1182) marks matching the inserted optical medium to the recording format and recorder profile requested by the burn job. Preserve that boundary even when the visible Player message is broader than the producing operation.
Mechanism
At the checkpoint, windows Media Player builds a burn playlist, refreshes its calculated status and delegates physical recording or erase work to the optical-disc stack; The recorder, inserted medium, burn format, staging files and write engine each have a separate lifecycle. The page-specific boundary is matching the inserted optical medium to the recording format and recorder profile requested by the burn job.
A recorder that enumerates can still be busy, incompatible with the inserted medium or unable to sustain the selected write operation. A representative way to reach this result is that a finalized disc or unsupported DVD profile is supplied for an operation that requires blank writable media.
State snapshot
| Evidence | Why it matters for imapi medium invalidtype |
|---|---|
| Producing object and operation | recorder unique ID and exclusive-access owner, inserted media profile/state, burn format, playlist item, source locality, duration/byte estimate, staging directory free space, write speed, current IMAPI action and underlying HRESULT |
| Decisive observation | physical media profile, blank/finalized state, recorder-supported profiles and requested audio/data-disc mode |
| Generation identity | Record the same disc, device, job or Player operation generation that returned this result; a reconnect or media change creates a different test. |
| Underlying result | Keep the first device, filesystem, COM, codec, DirectShow, IMAPI or BITS result seen before the Player mapped it to this result. |
| Controlled comparison | Repeat the producing call after changing only this condition: insert blank compatible media and refresh the recorder state before rebuilding the burn job. |
How to interpret the next test
| Observation | Interpretation |
|---|---|
| The recorded values match the boundary | The result is consistent with matching the inserted optical medium to the recording format and recorder profile requested by the burn job; correct that state before changing unrelated codecs, drivers or playlists. |
| A lower layer failed before this result | Preserve that earlier HRESULT or device result because it may be only the Player-level mapping. |
| The same call passes after one isolated change | The comparison supports the imapi medium invalidtype diagnosis rather than a broad installation failure. |
| The code changes after retesting it | The boundary was passed; diagnose the new HRESULT as the next independent stage. |
It scopes the failure to matching the inserted optical medium to the recording format and recorder profile requested by the burn job.
Controlled diagnostic sequence
- Capture
0xC00D1182, it, the exact Player/API operation and the first timestamp at which it appears. - Save physical media profile, blank/finalized state, recorder-supported profiles and requested audio/data-disc mode; do this before ejecting media, reconnecting a device, canceling a job or rebuilding the Player object.
- correlate the result with recorder unique ID and exclusive-access owner, inserted media profile/state, burn format, playlist item, source locality, duration/byte estimate, staging directory free space, write speed, current IMAPI action and underlying HRESULT.
- Reproduce once with the original source and destination, then apply only this change: insert blank compatible media and refresh the recorder state before rebuilding the burn job.
- Create a fresh operation generation and verify that the original call advances beyond the imapi medium invalidtype boundary.
Nearby codes with different owners
| Related result | Different diagnostic boundary |
|---|---|
NS_E_FAIL_LAUNCH_ROXIO_PLUGIN | activating the legacy third-party recording plug-in selected by the Player |
NS_E_IMAPI_LOSSOFSTREAMING | sustaining the IMAPI recorder data stream throughout the write operation |
NS_E_MEMSTORAGE_BAD_DATA | reading the in-memory burn description or staged item data |
Focused correction
For this occurrence, insert blank compatible media and refresh the recorder state before rebuilding the burn job. Recreate only the object that produced it and repeat the original operation against the same controlled input.
When verifying it, do not repeatedly start a new burn against a drive that still owns or finalizes the previous session; Capture the media state and recorder owner before ejecting or replacing the disc.
Technical references
- About CD Burning.
- IWMPCdromBurn interface.
- Image Mastering API interfaces and media states.
- Checking recorder and media support.
- IDiscRecorder2::AcquireExclusiveAccess.
Looking for a different code? Search another status or error code.