What does HRESULT 0x80040226 (VFW_E_NOT_RUNNING) mean?

 
Previous Next
VFW_E_NOT_PAUSED VFW_E_WRONG_STATE

VFW_E_NOT_RUNNING

VFW_E_NOT_RUNNING is a DirectShow HRESULT. The requested operation depends on active streaming or a running reference clock, but the filter graph is stopped or paused. It commonly occurs when application code begins a stream-dependent action before Run has completed.

How to handle it

  • Start the graph with IMediaControl::Run and wait for the expected state or event.
  • Ensure that the required source, renderer and reference clock are present before starting.
  • Protect against races between worker threads that stop the graph and code that issues stream-dependent calls.

If the operation should work while paused, inspect the specific filter implementation; some state requirements are filter-specific.

Microsoft: DirectShow filter states


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