IMFNetCrossOriginSupport interface (mfidl.h)

Implemented by clients that want to enforce a cross origin policy for HTML5 media downloads.

Inheritance

The IMFNetCrossOriginSupport interface inherits from the IUnknown interface. IMFNetCrossOriginSupport also has these types of members:

Methods

The IMFNetCrossOriginSupport interface has these methods.

 
IMFNetCrossOriginSupport::GetCrossOriginPolicy

Returns the client's current cross-origin policy to apply to the download session.
IMFNetCrossOriginSupport::GetSourceOrigin

Returns the W3C origin of the HTML5 media element.
IMFNetCrossOriginSupport::IsSameOrigin

Returns true when the specified URL has the same origin as the HTML5 media element.

Remarks

The Media Foundation network code uses these client callbacks to implement and enforce cross origin downloads.

Requirements

Requirement Value
Minimum supported client Windows 10 [desktop apps only]
Minimum supported server Windows Server 2016 [desktop apps only]
Target Platform Windows
Header mfidl.h