Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

IMFNetResourceFilter interface

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

When to implement

The Media Foundation HTTP byte stream supports this callback interface. Implement this interface if you want to be notified of the URLs that the byte stream requests, or want to block URL redirection.

Members

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

Methods

The IMFNetResourceFilter interface has these methods.

MethodDescription
OnRedirect

Called when the byte stream redirects to a URL.

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

Header

Mfidl.h

See also

Media Foundation Interfaces

 

 

Show:
© 2017 Microsoft