Site icon EfmSoft

What does HRESULT 0x80040311 (VFW_E_CODECAPI_ENUMERATED) mean?

 
Previous Next
VFW_E_CODECAPI_LINEAR_RANGE VFW_E_CODECAPI_NO_DEFAULT

VFW_E_CODECAPI_ENUMERATED

Meaning

Windows documents VFW_E_CODECAPI_ENUMERATED as “Parameter is enumerated. It has no range”. Here, ICodecAPI reports that a property is defined by an enumerated set of discrete values and therefore has no linear range.

Evidence worth preserving

  • Evidence 1: property GUID and enumerated values.
  • Evidence 2: codec CLSID and property-support flags.
  • Evidence 3: active encoding profile that influences available choices.

Relevant contract

This result describes a capability or format boundary in a component graph. Container recognition, elementary-stream parsing, decoder selection, property metadata and renderer acceptance are different stages and need separate evidence.

Start with the source filter, decoder or codec property provider and downstream connection.

Conditions that can produce it

  • Cause 1: the caller requests min/max data for a mode selector.
  • Cause 2: generic configuration code treats enum properties as numbers.
  • Cause 3: the codec exposes vendor-specific discrete modes.

Correction strategy

  • Action 1: query and display the discrete value set.
  • Action 2: validate submitted values by membership rather than numeric bounds.
  • Action 3: refresh choices after profile or media-type changes.

Example incident

A quality-mode property offers Automatic, Quality and Speed identifiers; interpreting it correctly prevents an invalid slider UI.

Retry and recovery

Retry rule: Do not repeat a range query; use enumerated-value handling and retry only after codec configuration changes.

How it differs from nearby results

VFW_E_CODECAPI_LINEAR_RANGE describes continuous or stepped numeric metadata; it describes discrete choices with no range.

Official Microsoft references


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

Exit mobile version