IMFNetResourceFilter interface (mfidl.h)

Notifies the application when a byte stream requests a URL, and enables the application to block URL redirection.

Inheritance

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

Methods

The IMFNetResourceFilter interface has these methods.

 
IMFNetResourceFilter::OnRedirect

Called when the byte stream redirects to a URL.
IMFNetResourceFilter::OnSendingRequest

Called when the byte stream requests a URL.

Remarks

To set the callback interface:

  1. Query the byte stream object for the IMFAttributes interface.
  2. Call IMFAttributes::SetUnknown to set the MFNETSOURCE_RESOURCE_FILTER attribute.

Requirements

Requirement Value
Minimum supported client Windows 8 [desktop apps only]
Minimum supported server None supported
Target Platform Windows
Header mfidl.h

See also

Media Foundation Interfaces