What does HRESULT 0xC00D125E (NS_E_BKGDOWNLOAD_COMPLETECANCELLEDJOB) mean?

 
Previous Next
NS_E_BKGDOWNLOAD_WRONG_NO_FILES NS_E_BKGDOWNLOAD_CANCELCOMPLETEDJOB

NS_E_BKGDOWNLOAD_COMPLETECANCELLEDJOB

Failure point and ownership

NS_E_BKGDOWNLOAD_COMPLETECANCELLEDJOB with value 0xC00D125E records calling completion on a job that has already entered the canceled terminal state. The producing call and its state are more diagnostic than a later aggregate Player failure.

Underlying mechanism

The Player’s download manager coordinates an owner window, a plug-in, background job identity, temporary files and final completion or cancellation. A downloaded .wmd package adds an extraction and cataloguing phase after transfer.

Receiving all network bytes is not the same as completing the job, moving the temporary file or successfully unpacking and cataloguing a Windows Media Download package. The condition can be reproduced when a late transfer callback calls Complete after the user canceled the job.

Trace fields worth keeping

EvidenceWhy it matters for completecancelledjob
Producing object and operationjob GUID and Player signature, BITS/job state, expected and actual file count, remote and local names, temporary path, completion/cancel request, plug-in and callback identity, COM apartment, WMD extraction result and first underlying HRESULT
Key observationjob state history, cancel source/time, Complete call and temporary-file status
Controlled comparisonRepeat the producing call after changing only this condition: do not complete the canceled generation; create a new job if the content is still required.

Decision path

  1. Capture 0xC00D125E, the exact Player/API operation and the first timestamp at which it appears.
  2. Save job state history, cancel source/time, Complete call and temporary-file status; do this before ejecting media, reconnecting a device, canceling a job or rebuilding the Player object.
  3. Correlate the result with job GUID and Player signature, BITS/job state, expected and actual file count, remote and local names, temporary path, completion/cancel request, plug-in and callback identity, COM apartment, WMD extraction result and first underlying HRESULT.
  4. Reproduce once with the original source and destination, then apply only this change: do not complete the canceled generation; create a new job if the content is still required.

Close alternatives

Related resultDifferent condition
NS_E_BKGDOWNLOAD_CANCELCOMPLETEDJOBcalling cancellation after the job was already completed and acknowledged
NS_E_BKGDOWNLOAD_WRONG_NO_FILESvalidating the file list attached to a Player-owned background job
NS_E_BKGDOWNLOAD_NOJOBPOINTERdereferencing a missing or released background-job interface

Safe correction

Correct this boundary by making sure you do not complete the canceled generation; create a new job if the content is still required. Then reacquire the interface or media state that produced it and repeat that call.

Source material


Looking for a different code? Search another status or error code.