| Previous | Next |
| MF_E_ATTRIBUTENOTFOUND | MF_E_PROPERTY_TYPE_NOT_SUPPORTED |
MF_E_PROPERTY_TYPE_NOT_ALLOWED
MF_E_PROPERTY_TYPE_NOT_ALLOWED points to a property-shape contract: the supplied PROPVARIANT has a type that can exist in the property system, but that type is not permitted for the property or metadata context being used.
Compare the VARTYPE with the property's documented schema
- Log
PROPVARIANT.vt, the property name orPROPERTYKEY, and whether the value is scalar or vector. - Do not serialize every numeric value as the same integer type. Property descriptions define canonical types.
- For Media Foundation v1 metadata, remember that
IMFMetadata::SetPropertyaccepts aPROPVARIANT; multivalued properties useVT_VECTOR.
The Windows Property System can coerce values to a property's canonical type with PSCoerceToCanonicalValue, but coercion can fail when the source type is incompatible. Diagnose the producer of the property value rather than changing the file extension or media codec.
Microsoft: IMFMetadata::SetProperty · Microsoft: PSCoerceToCanonicalValue · Wine: Media Foundation property HRESULTs
Looking for a different code? Search another status or error code.