| Previous | Next |
| MF_E_PROPERTY_VECTOR_REQUIRED | MF_E_BYTESTREAM_NOT_SEEKABLE |
MF_E_OPERATION_CANCELLED
What the code tells you
MF_E_OPERATION_CANCELLED (0xC00D36ED) is a failure result from Windows Media Foundation. The generated section above already contains the platform message; the useful extra information is that this result isolates an asynchronous Media Foundation operation ended because cancellation was requested or propagated.
The producer is the async operation and callback generation that report completion, so diagnosis should begin with that object and its state rather than with a broad reinstall or an unrelated codec change. A representative occurrence is a source-resolution request is cancelled when the UI replaces the URL and a stale callback later reports this result.
Build a useful incident record
| Observation | What to capture for it |
|---|---|
| Primary discriminator | the cancellation token or shutdown call, operation cookie, callback ordering, object generation, and whether user action or timeout initiated cancellation |
| Owning object | the async operation and callback generation that report completion, including its object identity and generation |
| Timeline marker | the call immediately before an asynchronous Media Foundation operation ended because cancellation was requested or propagated and the completion event, callback, or state change that followed |
| Comparison artifact | one known-good run that changes only this condition: run once without issuing the cancel or shutdown request and compare the completion event |
The decisive boundary is an asynchronous Media Foundation operation ended because cancellation was requested or propagated. Preserve the original the async operation and callback generation that report completion and the first result in the chain: a later UI message can replace this precise code with a generic playback, setup, network, or device failure.
Reproduce without erasing context
- Record this result,
0xC00D36ED, the returning method, process architecture, Windows build, and component version. - Capture the cancellation token or shutdown call, operation cookie, callback ordering, object generation, and whether user action or timeout initiated cancellation before retry logic changes the object.
- Perform this narrow comparison: run once without issuing the cancel or shutdown request and compare the completion event.
- keep the input, account, URL, device, media type, and requested action unchanged unless one is the single tested variable.
- After correcting this result, create a fresh object or process where lifecycle state may have been retained, then repeat the original call.
What the result does not prove
It does not by itself prove a machine-wide media-platform failure. In this case, a network timeout or stream error is a failure of the work itself, not a requested cancellation. The result evidence does not justify deleting license stores, clearing every proxy setting, installing codec packs, or rewriting media files before its producer is identified.
Comparison with adjacent conditions
| Result | Different checkpoint |
|---|---|
MF_E_DISABLED_IN_SAFEMODE | The Media Foundation platform is disabled when the system is running in Safe Mode; compare this boundary specifically with it. |
MF_E_MEDIAPROC_WRONGSTATE | MediaProc is in the wrong state; compare this boundary specifically with it. |
MF_E_INVALID_POSITION | The operation on the current offset is not permitted; compare this boundary specifically with it. |
Resolution and proof
The supported corrective direction is to treat intentional cancellation as a terminal outcome; if unintended, fix ownership and callback lifetime rather than retrying blindly. Success means more than disappearance of a dialog: the same method must pass the same checkpoint, the expected event or output must appear, and no broader fallback HRESULT should replace it.
For a incident, keep the symbolic constant together with 0xC00D36ED. That pairing preserves the checkpoint when signed integer fields or wrapper logs obscure the original Media Foundation or Windows Media facility.
Technical references
- Media Foundation architecture — reference used for the checkpoint.
- Media Foundation error codes — reference used for the checkpoint.
- Media sources — reference used for the checkpoint.
- Media Foundation events — reference used for the checkpoint.
Looking for a different code? Search another status or error code.
