What does HRESULT 0xC00D36DB (MF_E_TIMER_ORPHANED) mean?

 
Previous Next
MF_E_MULTIPLE_SUBSCRIBERS MF_E_STATE_TRANSITION_PENDING

MF_E_TIMER_ORPHANED

MF_E_TIMER_ORPHANED belongs to Media Foundation timer scheduling. IMFTimer::SetTimer schedules an asynchronous callback at a clock time and can return a key that identifies that timer for CancelTimer.

Trace the specific timer request and its teardown path

  • Log the requested clock time, timer flags, callback/state objects, and the cancellation key returned by SetTimer.
  • Use the exact returned key when canceling the request; do not substitute an application timer ID or another request's key.
  • Review clock, presenter, and callback-owner teardown around the orphaned request, especially when timers are scheduled while playback state is changing.

Cancellation does not prove the callback can no longer execute: Microsoft documents that CancelTimer may succeed even though asynchronous dispatch still invokes the callback. Teardown code must therefore remain safe for a late callback.

Microsoft: IMFTimer::SetTimer · Microsoft: IMFTimer::CancelTimer · Microsoft: EVR presenter scheduling


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