| Previous | Next |
| MF_E_WMDRMOTA_ACTION_MISMATCH | MF_E_POLICY_UNSUPPORTED |
MF_E_WMDRMOTA_INVALID_POLICY
MF_E_WMDRMOTA_INVALID_POLICY indicates that the WMDRM output trust authority rejected the policy object or policy data itself. The failure occurs before treating the output as merely incapable of enforcing a valid requirement.
Validate policy provenance and schema objects
- Ensure every policy passed to the OTA came from the ITA associated with the protected stream and requested action.
- Inspect the required schema collection generated by
IMFOutputPolicy::GenerateRequiredSchemas. - For custom policy objects, verify schema GUIDs and configuration-data lifetime through
IMFOutputSchema.
Compare this with MF_E_POLICY_UNSUPPORTED. That code means the OTA does not support requirements of an otherwise negotiated policy; MF_E_WMDRMOTA_INVALID_POLICY points to invalid policy input for the WMDRM authority. Retrying SetPolicy with the same objects is unlikely to help. Capture the policy/OTA pairing and fix the generation or object-lifetime problem.
Microsoft: IMFOutputPolicy · Microsoft: GenerateRequiredSchemas · Microsoft: IMFOutputSchema
Looking for a different code? Search another status or error code.