| Previous | Next |
| MF_E_LICENSE_OUTOFDATE | MF_E_DRM_HARDWARE_INCONSISTENT |
MF_E_LICENSE_REQUIRED
MF_E_LICENSE_REQUIRED means the requested protected-content operation cannot proceed until rights are acquired. The important diagnostic boundary is the content-enabling step: Media Foundation can already have resolved the source and identified protected content before license acquisition is requested.
Follow the content-enabler contract
- Ensure the PMP Media Session was configured with an
IMFContentProtectionManagerimplementation. - When
BeginEnableContentsupplies an activate object, create theIMFContentEnablerand determine whether automatic acquisition is supported. - For non-silent acquisition, validate the URL trust status before posting the enable data and monitor the operation to completion.
Do not treat this HRESULT as proof that the file is corrupt or the codec is absent. It is also different from MF_E_LICENSE_INCORRECT_RIGHTS: acquiring a license is the missing step here, whereas incorrect rights mean existing rights do not authorize the requested action. Preserve the completion status from MEEnablerCompleted when acquisition fails.
Microsoft: rights acquisition workflow · Microsoft: IMFContentProtectionManager · Microsoft: IMFContentEnabler
Looking for a different code? Search another status or error code.