Redigera

Dela via


MEContentProtectionMessage event

Raised by a pipeline component when the configuration changes for one of the output protection schemes. This event applies only to protected content.

Event values

Possible values retrieved from IMFMediaEvent::GetValue include the following.

VARTYPE Description
VT_EMPTY
No event data.

Remarks

All trusted outputs must handle this event. Media Foundation transforms (MFTs) receive this event through the IMFTransform::ProcessEvent method. Media sinks receive this event through the IMFStreamSink::PlaceMarker method.

The trusted output must apply the policy changes or return the error code MF_E_POLICY_UNSUPPORTED.

The event data and attributes depend on the content protection system in use.

Requirements

Requirement Value
Minimum supported client
Windows Vista [desktop apps | UWP apps]
Minimum supported server
Windows Server 2008 [desktop apps | UWP apps]
Header
Mfobjects.h (include Mfidl.h)

See also

Media Foundation Events