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.

IMFMediaSourceEx interface

Extends the IMFMediaSource interface to provide additional capabilities for a media source.

To get a pointer to this interface, call QueryInterface on the media source.

When to implement

If you are writing a custom media source, it is optional to implement this interface. Implement this interface if you need to support either of the following scenarios:

  • Your media source is a proxy to a hardware device.
  • Your media source can allocate DXGI buffers.

Members

The IMFMediaSourceEx interface inherits from IMFMediaSource. IMFMediaSourceEx also has these types of members:

Methods

The IMFMediaSourceEx interface has these methods.

MethodDescription
GetSourceAttributes

Gets an attribute store for the media source.

GetStreamAttributes

Gets an attribute store for a stream on the media source.

SetD3DManager

Sets a pointer to the DXGI Device Manager on the media source.

 

Remarks

Implementations of this interface can return E_NOTIMPL for any methods that are not required by the media source.

Requirements

Minimum supported client

Windows 8 [desktop apps | UWP apps]

Minimum supported server

Windows Server 2012 [desktop apps | UWP apps]

Header

Mfidl.h

See also

IMFMediaSource
Media Foundation Interfaces

 

 

Show:
© 2017 Microsoft