| Previous | Next |
| MF_E_PROPERTY_NOT_FOUND | MF_E_PROPERTY_NOT_ALLOWED |
MF_E_PROPERTY_READ_ONLY
MF_E_PROPERTY_READ_ONLY indicates that the property exists but the current provider does not permit writing it. This is different from an unknown property name or an unsupported PROPVARIANT type.
Check provider capabilities before editing
- Identify whether the application is using Media Foundation
IMFMetadataor a ShellIPropertyStoreobtained from the media source. - For Shell property handlers that expose
IPropertyStoreCapabilities, queryIsPropertyWritablebefore enabling an edit path. - Remember that a property can be generally editable in Windows but read-only for one particular file-format handler.
Custom Media Foundation property handlers parse and write format-specific metadata; not every value exposed for reading can be safely written back. Do not work around this error by changing file permissions alone. First prove that the handler supports writing the requested property, then check the underlying stream and commit path.
Microsoft: IPropertyStoreCapabilities · Microsoft: custom media property handlers · Wine: Media Foundation property HRESULTs
Looking for a different code? Search another status or error code.