What does HRESULT 0x00040242 (VFW_S_PARTIAL_RENDER) mean?

 
Previous Next
VFW_S_STATE_INTERMEDIATE VFW_S_SOME_DATA_IGNORED

VFW_S_PARTIAL_RENDER

DirectShow rendered only supported streams

VFW_S_PARTIAL_RENDER is HRESULT 262722 (0x00040242) from Video for Windows. The documented description is “Some of the streams in this movie are in an unsupported format.” The high-order severity bit is clear, so this is a success result, but it carries more information than plain S_OK.

Graph building succeeded for part of the media source, while one or more streams could not be rendered because their formats were unsupported.

Evidence to preserve

  • Preserve source path and container type.
  • Preserve all discovered stream media types.
  • Preserve filters selected for rendered streams.
  • Preserve unconnected output pins.
  • Preserve codec registration and bitness.

Where the result is encountered

  • This result can appear in IGraphBuilder::RenderFile; record the producing interface and method.
  • This result can appear in playback of files with multiple audio, video, subtitle, or data streams; record the producing interface and method.
  • It can appear in diagnostics that inspect graph construction results; record the producing interface and method.

State to verify

The central question is whether the application identifies which streams are playable and which were omitted before presenting playback as fully supported.

Diagnostic sequence

  • Capture the raw HRESULT 0x00040242 immediately after the returning method and record whether the caller used SUCCEEDED, FAILED, equality testing, or exception translation.
  • Verify the method-specific state: the application identifies which streams are playable and which were omitted before presenting playback as fully supported.

Difference from nearby HRESULT values

VFW_S_VIDEO_NOT_RENDERED and VFW_S_AUDIO_NOT_RENDERED identify a specific omitted media class; it is the broader mixed-stream outcome.

Correct handling, retry, and recovery

Allow reduced playback only when the missing streams are optional and inform the user. For required video, audio, or accessibility tracks, treat the partial result as an unmet requirement.

Practical validation scenario

A movie contains supported H.264 video and an unsupported commentary codec. The graph renders the main program, logs the unconnected commentary pin, and exposes a warning instead of claiming every track is available.

Developer and administrator guidance

References


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