| Previous | Next |
| EVENT_E_NOT_ALL_REMOVED | EVENT_E_COMPLUS_NOT_INSTALLED |
VFW_E_RUNTIME_ERROR
Meaning
Windows documents VFW_E_RUNTIME_ERROR as “A run-time error occurred”. In practical terms, it is returned when a DirectShow component encounters a run-time failure for which it exposes no more specific VFW_E result.
Where the failure belongs
This result belongs to DirectShow filter-graph processing. The relevant condition is that a DirectShow component encounters a run-time failure for which it exposes no more specific VFW_E result.
Likely causes
- Possible cause 1: a filter reports an internal processing failure.
- Possible cause 2: device or codec code returns a generic run-time error.
- Possible cause 3: an exception or invalid state is mapped to the catch-all DirectShow code.
Evidence to collect
- Capture 1: filter CLSID, pin, graph state and streaming thread.
- Capture 2: first component log or inner HRESULT before graph-level propagation.
- Capture 3: media type, sample timestamp and device state at failure.
Diagnostic sequence
- Confirm that the observed path matches this condition: a DirectShow component encounters a run-time failure for which it exposes no more specific VFW_E result.
Correct handling and retry
- Corrective action 1: fix the first component-specific cause instead of treating the catch-all code as diagnosis.
- Corrective action 2: preserve inner errors and graph events.
- Corrective action 3: reduce the graph to the smallest chain that reproduces the failure.
Retry guidance. Retry only after state, device or input has changed; a generic run-time failure during the same sample often repeats.
Practical scenario
A capture filter maps a device-driver exception to it; tracing the failing filter and device event reveals the actual recovery action.
Difference from nearby HRESULTs
VFW_E_TIMEOUT identifies elapsed waiting, whereas it is a broad component execution failure without a more specific public classification.
Official Microsoft references
Looking for a different code? Search another status or error code.