| Previous | Next |
| NS_E_WMP_ALREADY_IN_USE | NS_E_WMP_WMDM_FAILURE |
NS_E_WMP_IMAPI_FAILURE
Practical scope of NS_E_WMP_IMAPI_FAILURE
This HRESULT is produced at receiving a generic failure from the Image Mastering API during recording. This result belongs to cd/dvd recording and imapi state, not to an undifferentiated “Windows Media problem.”
Pipeline position
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 receiving a generic failure from the Image Mastering API during recording.
A recorder that enumerates can still be busy, incompatible with the inserted medium or unable to sustain the selected write operation. In a typical failing run, the Player reports only its aggregate code after the write engine rejected a command.
Reproduction record
| Evidence | Why it matters for imapi failure |
|---|---|
| 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 | current IMAPI interface/method, write action, recorder/media state and nested HRESULT |
| 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: preserve and act on the underlying IMAPI error rather than retrying the generic wrapper. |
Reading the evidence
| Observation | Interpretation |
|---|---|
| The recorded values match the boundary | The result is consistent with receiving a generic failure from the Image Mastering API during recording; 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 failure 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 receiving a generic failure from the Image Mastering API during recording.
Verification procedure
- Capture
0xC00D119F, it, the exact Player/API operation and the first timestamp at which it appears. - Save current IMAPI interface/method, write action, recorder/media state and nested HRESULT; 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: preserve and act on the underlying IMAPI error rather than retrying the generic wrapper.
- Create a fresh operation generation and verify that the original call advances beyond the imapi failure boundary.
Results that may look similar
| Related result | Different diagnostic boundary |
|---|---|
NS_E_WMP_IMAPI_GENERIC | mapping an IMAPI result that the Player did not classify more specifically |
NS_E_WMP_IMAPI_DEVICE_NOTPRESENT | opening the recorder after it was removed or its device path changed |
NS_E_WMP_IMAPI_DEVICE_BUSY | acquiring the recorder while another operation or process owns it |
Change the smallest responsible condition
The targeted action is to preserve and act on the underlying IMAPI error rather than retrying the generic wrapper. While retesting it, keep unrelated media, device, playlist and network values unchanged.
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.
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.
