What does HRESULT 0xC00D3E80 (MF_E_NO_EVENTS_AVAILABLE) mean?

 
Previous Next
MF_E_ASF_DROPPED_PACKET MF_E_INVALID_STATE_TRANSITION

MF_E_NO_EVENTS_AVAILABLE

MF_E_NO_EVENTS_AVAILABLE is the expected empty-queue result for synchronous polling with IMFMediaEventGenerator::GetEvent and MF_EVENT_FLAG_NO_WAIT. The call is explicitly nonblocking, so an empty queue is reported immediately.

Treat the result as queue state, not pipeline failure

  • Retry only according to the application's event-loop policy; a tight busy loop can waste a CPU core.
  • For normal Media Session handling, prefer the asynchronous BeginGetEvent/EndGetEvent pattern.
  • Check the event generator's shutdown and subscription state separately when events were expected but never arrive.

Calling GetEvent with flags set to zero has different behavior: it blocks until an event is queued or the generator is shut down. The HRESULT therefore often reveals that polling code selected the nonblocking mode.

Microsoft: IMFMediaEventGenerator::GetEvent · Microsoft: media event generators


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