What does HRESULT 0xC00D36B7 (MF_E_UNSUPPORTED_REPRESENTATION) mean?

 
Previous Next
MF_E_NOT_INITIALIZED MF_E_NO_MORE_TYPES

MF_E_UNSUPPORTED_REPRESENTATION

MF_E_UNSUPPORTED_REPRESENTATION is about converting or exposing a media type in a requested representation, not about decoding the media payload. A common API context is IMFMediaType::GetRepresentation, where the caller asks for an alternative structure identified by a representation GUID.

Check the representation GUID and the media type separately

  • Log the exact guidRepresentation and the media type major type and subtype.
  • Do not assume every IMFMediaType can be exported to every DirectShow-era format structure.
  • If a specific representation would discard format information, keep the Media Foundation attribute form or use a conversion helper designed for the required target structure.

Microsoft documents only specific representation values for GetRepresentation, including AM_MEDIA_TYPE_REPRESENTATION and selected video format structures. Wine's mfobjects.idl also exposes the representation and matching FreeRepresentation contract. A codec install or file repair will not make an arbitrary representation GUID valid.

Microsoft: IMFMediaType::GetRepresentation · Microsoft: Media Types · Wine: IMFMediaType interface definition


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