| Previous | Next |
| MF_E_UNEXPECTED | MF_E_INVALIDTYPE |
MF_E_INVALIDNAME
Read this as a state transition
MF_E_INVALIDNAME means a named attribute, stream, service, property, or object identifier is not accepted in the current API context.
The result comes from the method that interprets the supplied name rather than the media payload. A representative case is an attribute query passes a display label where the interface expects a canonical property name or GUID-derived key.
Evidence to preserve
the exact UTF-16 name including length and terminator, owning interface, namespace or attribute store, and whether lookup is case-sensitive.
Record before the object changes
Test one hypothesis at a time
- Record and verify: the exact UTF-16 name including length and terminator, owning interface, namespace or attribute store, and whether lookup is case-sensitive.
- Run the controlled comparison: call the same method with a documented name from the same object and keep all other arguments unchanged.
Do not merge these HRESULTs
| HRESULT | Meaning in the standard description |
|---|---|
MF_E_UNEXPECTED | An unexpected error has occurred in the operation requested. |
MF_E_INVALIDTYPE | Invalid type. |
MF_E_INVALIDINDEX | Invalid index. |
Here, MF_E_NOT_FOUND means a valid lookup key was accepted but no matching value exists.
Confirm the correction
For this occurrence, use a documented identifier and preserve the original spelling; do not substitute an unrelated registry or file name.
Authoritative references
Looking for a different code? Search another status or error code.
