Site icon EfmSoft

What does HRESULT 0xC00D36EB (MF_E_PROPERTY_VECTOR_NOT_ALLOWED) mean?

 
Previous Next
MF_E_PROPERTY_NOT_EMPTY MF_E_PROPERTY_VECTOR_REQUIRED

MF_E_PROPERTY_VECTOR_NOT_ALLOWED

MF_E_PROPERTY_VECTOR_NOT_ALLOWED is a cardinality mismatch. The supplied PROPVARIANT represents multiple values with VT_VECTOR, but the target property expects a scalar value.

Check the type flags, not just the element type

In the Windows Property System, the PDTF_MULTIPLEVALUES property-description flag controls whether multiple values are stored as a VT_VECTOR. Media Foundation metadata also uses vectors for multivalued properties. The fix is to construct the expected scalar PROPVARIANT or target a property that is actually defined as multivalued.

Microsoft: PROPDESC_TYPE_FLAGS · Microsoft: IMFMetadata::SetProperty · Wine: Media Foundation property HRESULTs


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

Exit mobile version