| Previous | Next |
| MF_E_PROPERTY_TYPE_NOT_SUPPORTED | MF_E_PROPERTY_NOT_EMPTY |
MF_E_PROPERTY_EMPTY
MF_E_PROPERTY_EMPTY describes a different condition from MF_E_PROPERTY_NOT_FOUND. The property slot or metadata concept exists, but the value supplied or retrieved is empty in a context that requires actual data.
Inspect both presence and value shape
- Log the property identifier and
PROPVARIANT.vt.VT_EMPTYis an explicit PROPVARIANT state. - For strings and vectors, also record string length or element count; a non-
VT_EMPTYvalue can still contain no useful elements. - Check whether the API expects deletion of an optional property instead of storing an empty placeholder.
Media Foundation's GetAllPropertyNames illustrates the distinction clearly: it returns VT_EMPTY when no properties are available, otherwise a VT_VECTOR | VT_LPWSTR list. Do not map every empty state to “missing file” or “missing codec”; trace the exact metadata/property operation and value.
Microsoft: IMFMetadata::GetAllPropertyNames · Microsoft: PROPVARIANT · Wine: property HRESULT definitions
Looking for a different code? Search another status or error code.