| Previous | Next |
| MF_E_PROPERTY_READ_ONLY | MF_E_MEDIA_SOURCE_NOT_STARTED |
MF_E_PROPERTY_NOT_ALLOWED
MF_E_PROPERTY_NOT_ALLOWED is a policy/context error for a property operation. The property can be known to the platform, but the current object, provider, state, or media format does not allow that property to be used in this operation.
Diagnose the target object, not only the property key
- Log whether the operation is a get, set, delete, source-configuration, or sink-configuration request.
- Record the provider and media format. Media Foundation property handlers are format-specific and may expose different read/write sets.
- Compare the property with the documentation for the exact API parameter or service. A property accepted by one source or sink is not automatically valid for another.
This differs from MF_E_PROPERTY_READ_ONLY, which specifically describes a non-writable property, and from MF_E_PROPERTY_NOT_FOUND, which means the property is absent. Retrying with the same object and context will not change an allow-list or format contract.
Microsoft: format-specific property handlers · Microsoft: IPropertyStore · Wine: property HRESULT definitions
Looking for a different code? Search another status or error code.