| Previous | Next |
| VFW_E_DDRAW_CAPS_NOT_SUITABLE | VFW_E_NO_CAPTURE_HARDWARE |
VFW_E_NO_VP_HARDWARE
Exact result and bit fields
VFW_E_NO_VP_HARDWARE has the unsigned HRESULT value 2147746420 (0x80040274) and the signed 32-bit representation -2147220876. AllStat describes it as “No VideoPort hardware is available, or the hardware is not responding”. In the operation that produces this result, a graph requests a hardware VideoPort path but no responsive VideoPort device is available.
The high bit is set, so this value is a failure HRESULT. Its facility field is 4 (FACILITY_ITF) and its low code is 628 (0x0274). These fields classify this result, but they do not identify which filter, thread, device, file or graph generation returned it.
Contract boundary
This result is tied to a legacy rendering or graphics-capability boundary. The result should be diagnosed from the selected renderer, adapter, driver, surface contract and graph topology rather than from the file extension alone.
The practical owner to locate for this HRESULT is the renderer, graphics driver, display connection and negotiated surfaces. When handling this result, capture the native result before a wrapper replaces it with a generic exception, and keep the graph generation or object identity with the record.
Step-by-step diagnosis
- Capture it at the first native return, not only at the top-level playback failure.
- identify the exact graph stage described here: a graph requests a hardware VideoPort path but no responsive VideoPort device is available.
- compare the live object state, topology and input with the documented interface preconditions.
- Before changing filters, drivers, registry data or media for this HRESULT, collect the code-specific evidence below.
- Test one evidence-backed the correction on the smallest reproducible graph.
- Verify that the corrected run no longer returns it and does not merely replace it with a nearby HRESULT.
Conditions that can produce it
- Cause 1 for this HRESULT: the adapter or capture device has no VideoPort support.
- Cause 2 for this HRESULT: the required hardware path is disabled by the driver.
- Cause 3 for this HRESULT: the device was removed or reset during graph construction.
Evidence worth preserving
Log the interface and method, filter CLSID and friendly name, process and thread, graph state, connected pin names, media-type summary, renderer or device identity where relevant, and the first preceding HRESULT. Record lengths and hashes instead of raw content when the incident includes display identifiers, protected-content state, driver details and media paths.
- Evidence 1 for this HRESULT: adapter and capture-device capabilities.
- Evidence 2 for this HRESULT: device presence and driver events.
- Evidence 3 for this HRESULT: requested VideoPort interface and renderer mode.
Correction strategy
- Action 1 for this HRESULT: fall back to memory-based delivery where supported.
- Action 2 for this HRESULT: select compatible hardware and drivers for a required legacy path.
- Action 3 for this HRESULT: handle device loss by tearing down and rebuilding the branch.
Retry and recovery
Retry rule for this HRESULT: Retry after device arrival, driver recovery or fallback-path selection. A safe it retry must use a changed capability, state, object generation or input. While recovering from it, preserve cancellation and avoid replaying side effects when the original operation may have partially completed.
How it differs from nearby results
VFW_E_VP_NEGOTIATION_FAILED indicates failed negotiation with present hardware; it indicates that the required hardware path is absent or unresponsive. Keep those cases separate in telemetry, UI messages and retry policy because their next actions are different.
Example incident
A capture application assumes every analog tuner supports hardware video-port transfer; capability detection routes unsupported devices to a standard sample path and avoids it. This example keeps the diagnosis at the specific the boundary instead of treating every DirectShow failure as a codec reinstall problem.
Implementation notes
Code that handles it should preserve the original HRESULT, the failed stage and an opaque correlation identifier. After it, do not infer success from partial graph construction, and do not continue using interfaces retained from a graph or device generation that has already changed.
Operational remediation for this HRESULT should favor supported component installation, device configuration and documented DirectShow calls. Manual registry or driver changes are appropriate only when the collected evidence for this HRESULT points to that layer and a rollback is available.
Official Microsoft references
- Microsoft: DirectShow error and success codes
- Microsoft: DirectShow video capture
- Microsoft: video rendering in DirectShow
Looking for a different code? Search another status or error code.
