IMFNetResourceFilter interface

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


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.


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.


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

See Also

Media Foundation Interfaces