What does HRESULT 0x000D7168 (MF_S_WAIT_FOR_POLICY_SET) mean?

 
Previous Next
MF_S_PROTECTION_NOT_REQUIRED MF_S_VIDEO_DISABLED_WITH_UNKNOWN_SOFTWARE_OUTPUT

MF_S_WAIT_FOR_POLICY_SET

MF_S_WAIT_FOR_POLICY_SET is the documented asynchronous result of IMFOutputTrustAuthority::SetPolicy. Policy negotiation succeeded, but the output trust authority has not finished enforcing the policy when the call returns.

Wait for the policy event instead of starting protected output immediately

  • Keep receiving Media Foundation events and wait for MEPolicySet.
  • Preserve the policy-setting HRESULT and the event status so a later enforcement failure is not mistaken for a negotiation failure.
  • Do not spin on SetPolicy or repeatedly resubmit the same policy while the OTA is applying it.

Microsoft explicitly documents that an OTA returning this status sends MEPolicySet after enforcement. The distinction matters with EVR and other event-generating outputs. A direct WASAPI/PUMA policy path behaves differently because those objects do not expose Media Foundation event generation in the same way. Diagnose the actual output path before deciding how completion is signaled.

Microsoft: IMFOutputTrustAuthority::SetPolicy · Microsoft: Media Foundation policy events · Microsoft: Protected User Mode Audio


Looking for a different code? Search another status or error code.