IMFNetResourceFilter interface

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

Methods

The IMFNetResourceFilter interface has these methods.

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

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

See Also

Media Foundation Interfaces