What does HRESULT 0xC00D36BD (MF_E_INVALIDTYPE) mean?

 
Previous Next
MF_E_INVALIDNAME MF_E_INVALID_FILE_FORMAT

MF_E_INVALIDTYPE

What the code tells you

MF_E_INVALIDTYPE means the caller supplied a value whose COM, PROPVARIANT, media, or object type is incompatible with the requested operation.

The result comes from the interface that validates the type before consuming its value. A representative case is an IMFAttributes key expects UINT32 but receives a string, or a transform receives the wrong media subtype.

Evidence to preserve

the GUID or VARTYPE, major and subtype GUIDs, attribute key, stream number, and the type advertised by the object.

Build a useful incident record

Reproduce without erasing context

  1. Record and verify: the GUID or VARTYPE, major and subtype GUIDs, attribute key, stream number, and the type advertised by the object.
  2. Run the controlled comparison: enumerate or query the supported type first, then retry with exactly one advertised type.

Comparison with adjacent conditions

HRESULTMeaning in the standard description
MF_E_INVALIDNAMEInvalid name.
MF_E_UNEXPECTEDAn unexpected error has occurred in the operation requested.
MF_E_INVALIDINDEXInvalid index.

Here, MF_E_FORMAT_CHANGE_NOT_SUPPORTED concerns a supported type that would require an unavailable transition.

Resolution and proof

For this occurrence, convert the value to the documented type or negotiate an accepted media type before setting it.

Authoritative references


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