What does HRESULT 0xC00D36E5 (MF_E_INVALID_POSITION) mean?

 
Previous Next
MF_E_UNSUPPORTED_CAPTION MF_E_ATTRIBUTENOTFOUND

MF_E_INVALID_POSITION

What the code tells you

MF_E_INVALID_POSITION means the time format is acceptable, but the requested offset or cursor operation is not valid at the current position.

The result comes from the seekable source, byte stream, or session executing the positioning operation. A representative case is a seek requests a negative time, an offset beyond end of stream, or a byte-stream operation forbidden at its current cursor.

Evidence to preserve

the requested and current positions, duration or byte length, seek flags, source characteristics, and nearest key-frame information.

Build a useful incident record

Reproduce without erasing context

  1. Record and verify: the requested and current positions, duration or byte length, seek flags, source characteristics, and nearest key-frame information.
  2. Run the controlled comparison: retry at zero and at a known in-range position using the same time format.

Comparison with adjacent conditions

HRESULTMeaning in the standard description
MF_E_UNSUPPORTED_CAPTIONThe caption of the given URL is unsupported.
MF_E_BAD_STARTUP_VERSIONYou are calling MFStartup with the wrong MF_VERSION; Mismatched bits.
MF_E_UNRECOVERABLE_ERROR_OCCURREDAn unrecoverable error has occurred.

Here, MF_E_UNSUPPORTED_TIME_FORMAT rejects the coordinate system before evaluating the offset.

Resolution and proof

For this occurrence, clamp or translate the position according to the source capabilities and recreate stale cursors after topology changes.

Authoritative references


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