IMFNetCrossOriginSupport interface

[Some information relates to pre-released product which may be substantially modified before it's commercially released. Microsoft makes no warranties, express or implied, with respect to the information provided here.]

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.

Method Description
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

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